Crate polysplit

Source
Expand description

§Polyline Split

polysplit crate implements the algorithm allowing to split polylines into segments by the defined list of points not necessary belonging to the polyline.

Modules§

euclidean

Structs§

DistanceToSegmentResult
DistanceToSegmentResult presents the projection results of the point to the segment.
PolySplitError

Enums§

CutRatioResult
CutRatioResult presents the closest projection of the point to the segment.
PolySplitErrorKind

Traits§

PolySplit
PolySplit defines methods for types that can be used in polyline_split method.

Functions§

polyline_split
Splits polyline into segments by the defined list of points.

Type Aliases§

Result