|
oevislib_net
0.14.3.0
|
Functions | |
| Path | oevislib_net.Path.Shorten (float inMaxDistance) |
| Shortens the path, reducing the number of points but preserving the shape. | |
| Path | oevislib_net.Path.SpaceRegularly (float inStep) |
| Creates a new path with points equally spaced and lying on the input path. | |
| static void | oevislib_net.Path.SegmentPath (Path inPath, float inStdDev, float inMaxDeviation, PathSegmentationMode inSegmentationMode, float inMaxArcRadius, Optional< Array< Path > > outStraight, Optional< Array< Path > > outArciform, Optional< Array< Segment2D > > outSegments, Optional< Array< Arc2D > > outArcs) |
| Splits a path into parts that can be approximated as segments (or arcs, if specified). | |
| Path | oevislib_net.Path.GetBicircularCurve (int inInterpolationPoints) |
| Builds a bi-circular curve starting from the path's points. | |
| Path | oevislib_net.Path.RemoveSelfIntersections () |
| Removes the self-intersections of the path. | |
| void | oevislib_net.Path.Extend (float inExtraLengthOnFirst, float inExtraLengthOnLast) |
| Resizes the segments at the path's ends. | |
| Path | oevislib_net.Path.ExtractLongestSubpath (float inMaxTurnAngle) |
| Creates a new path selecting the longest segment sequence which turns at most the angle provided. | |
| Path | oevislib_net.Path.Stretch (Point2D inNewStartingPoint, Point2D inNewEndingPoint) |
| Aligns the path so that its endpoints match the two provided ones. | |
|
inline |
Resizes the segments at the path's ends.
| inExtraLengthOnFirst | Length added to the first segment. Range: [0, +inf). |
| inExtraLengthOnLast | Length added to the last segment. Range: [0, +inf). |
|
inline |
Creates a new path selecting the longest segment sequence which turns at most the angle provided.
| inMaxTurnAngle | Maximum turning angle allowed between two consecutive segments [deg]. Range: [0, 180]. |
|
inline |
Builds a bi-circular curve starting from the path's points.
| inInterpolationPoints | Number of points used for the interpolation between path's points. Range: [0, +inf). |
|
inline |
Removes the self-intersections of the path.
|
inlinestatic |
Splits a path into parts that can be approximated as segments (or arcs, if specified).
| inPath | Input path. |
| inStdDev | Standard deviation used for Gaussian smoothing. Range: [0, +inf). |
| inMaxDeviation | Maximum distance of a path point from its theoretical position. Range: [0, +inf). |
| inSegmentationMode | Selects which geometric shape can be used during the segmentation process. |
| inMaxArcRadius | Maximum radius of a fitted arc. Range: [0, +inf). |
| outStraight | Parts of the input path that are classified as segments. |
| outArciform | Parts of the input path that are classified as arcs. |
| outSegments | Array of segments approximating the paths found in the outStraight variable. |
| outArcs | Array of arcs approximating the paths found in the outArciform variable. |
|
inline |
Shortens the path, reducing the number of points but preserving the shape.
| inMaxDistance | Maximum distance between points of the reduced path. Range: [0, +inf). |
|
inline |
Creates a new path with points equally spaced and lying on the input path.
| inStep | Distance between each point. Range: [0, +inf). |