#!/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
计算多边形中心线
最新推荐文章于 2025-05-28 20:46:52 发布