#!/usr/bin/env python # -*- coding: utf-8 -*- from shapely.geometry import LineString from shapely.geometry import MultiLineString from scipy.spatial import Voronoi import numpy as np class Centerline(object): def __init__(self, inputGEOM, dist=0.5): self.inputGEOM = inputGEOM self.dist = abs(dist) def create_centerline(self):
计算多边形中心线
最新推荐文章于 2024-04-22 16:33:18 发布