|
oevislib_net
0.14.3.0
|
Functions | |
| Array< Segment2D > | oevislib_net.Path.GetSegments () |
| Converts the path to an array of Segment2D objects. | |
| Point2D | oevislib_net.Path.GetMassCenter () |
| Computes the path's mass center. | |
| float | oevislib_net.Path.GetLength () |
| Computes the length of the path. | |
| Point2D | oevislib_net.Path.GetFirstPoint () |
| Returns the first path point. | |
| Point2D | oevislib_net.Path.GetLastPoint () |
| Returns the last path point. | |
| Profile | oevislib_net.Path.GetTurnAngleProfile () |
| Computes the turning angles for each point of the path. | |
| float | oevislib_net.Path.GetAverageTurnAngle () |
| Computes the average turning angle (per unit of length) between consecutive segments of the path. | |
| Array< float > | oevislib_net.Path.GetTurnAngleLocalMaxima (TurnAngleDirection inTurnAngleDirection, float inMinTurnAngle, float inMinDistance, float inSmoothingStdDev, Optional< Array< int > > outIndices, Optional< Array< Point2D > > outPoints, Optional< Profile > outTurnAngleProfile) |
| Computes the local maxima of the path's turn angle profile. | |
| float | oevislib_net.Path.GetMaxTurnAngle (TurnAngleDirection inTurnAngleDirection, Optional< int > outIndex, Optional< Point2D > outPoint) |
| Computes the maximum turn angle between the path's consecutive segments. | |
| Circle2D | oevislib_net.Path.GetBoundingCircle () |
| Computes the smallest circle that contains the entire path. | |
| Box | oevislib_net.Path.GetBoundingBox () |
| Computes the smallest rectangle box that contains the entire path. | |
| Rectangle2D | oevislib_net.Path.GetBoundingRect (RectangleOrientation inRectangleOrientation) |
| Computes the smallest rectangle that contains the entire path. | |
| Segment2D | oevislib_net.Path.GetDiameter () |
| Finds the longest segment connecting two points of the path. | |
| void | oevislib_net.Path.GetCaliperDiameters (Optional< Segment2D > outMinDiameter=null, Optional< Segment2D > outMaxDiameter=null) |
| Computes the longest and the shortest segments between two points of the path. | |
| Path | oevislib_net.Path.GetConvexHull () |
| Computes the path's convex hull. | |
| static Array< Point2D > | oevislib_net.Path.ExtractPoints (Array< Path > inPaths) |
| Extracts all the points from a group of paths. | |
| bool | oevislib_net.Path.SelfIntersects (Optional< Array< Point2D > > outPoints, Optional< Array< int > > outFirstSegmentIndices, Optional< Array< int > > outSecondSegmentIndices) |
| Tests if the path has self-intersections. | |
| bool | oevislib_net.Path.IntersectsWith (Path inPath, Optional< float > outOverlapArea=null) |
| Check if the Path (closed) is intersecting with the given Path (closed). | |
Extracts all the points from a group of paths.
| inPaths | Input paths. |
|
inline |
Computes the average turning angle (per unit of length) between consecutive segments of the path.
|
inline |
Computes the smallest rectangle box that contains the entire path.
|
inline |
Computes the smallest circle that contains the entire path.
|
inline |
Computes the smallest rectangle that contains the entire path.
| inRectangleOrientation | Selects how the rectangle orientation will be normalized. |
|
inline |
Computes the longest and the shortest segments between two points of the path.
| outMinDiameter | Shortest segment. |
| outMaxDiameter | Longest segment. |
|
inline |
Computes the path's convex hull.
|
inline |
Finds the longest segment connecting two points of the path.
|
inline |
Returns the first path point.
|
inline |
Returns the last path point.
|
inline |
Computes the length of the path.
|
inline |
Computes the path's mass center.
|
inline |
Computes the maximum turn angle between the path's consecutive segments.
| inTurnAngleDirection | Filters which type of turn must be considered (left, right, all). |
| outIndex | Index of the point at which the maximum turn angle is found. |
| outPoint | Point at which the maximum turn angle is found. |
|
inline |
Converts the path to an array of Segment2D objects.
|
inline |
Computes the local maxima of the path's turn angle profile.
| inTurnAngleDirection | Filters which type of turn must be considered (left, right, all). |
| inMinTurnAngle | Minimum allowed angle. Range: [0, 180]. |
| inMinDistance | Minimum allowed distance between two local maxima. It assumes that each segment has a unit length. Range: [0, +inf). |
| inSmoothingStdDev | Standard deviation of the Gaussian kernel used to smooth the path. Range: [0, +inf). |
| outIndices | Indices of the found local maxima. |
| outPoints | Points at which the local maxima were found. |
| outTurnAngleProfile | Profile containing all the turning angles. |
|
inline |
Computes the turning angles for each point of the path.
|
inline |
|
inline |
Tests if the path has self-intersections.
| outPoints | Points in which there is a self-intersection. |
| outFirstSegmentIndices | Indices of the first segment that causes each self-intersection. |
| outSecondSegmentIndices | Indices of the second segment that causes each self-intersection. |