oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Intersections

Functions

static Array< Point2Doevislib_net.Path.Intersect (Path inPath1, Path inPath2, Optional< Array< int > > outSegmentIndices1, Optional< Array< int > > outSegmentIndices2)
 Returns the intersection points of two paths.
static Array< Point2Doevislib_net.Path.Intersect (Path inPath, Segment2D inSegment, Optional< Array< int > > outSegmentIndices=null)
 Returns the intersection points between a path and a segment.
static Array< Point2Doevislib_net.Path.Intersect (Path inPath, Line2D inLine, Optional< Array< int > > outSegmentIndices=null)
 Returns the intersection points between a path and a line.
Array< Pathoevislib_net.Path.Split (Path inPath)
 Splits the path at the intersections with the provided object.
Array< Pathoevislib_net.Path.Split (Segment2D inSegment)
 Splits the path at the intersections with the provided object.
Array< Pathoevislib_net.Path.Split (Line2D inLine)
 Splits the path at the intersections with the provided object.

Detailed Description

Function Documentation

◆ Intersect() [1/3]

Array< Point2D > oevislib_net.Path.Intersect ( Path inPath,
Line2D inLine,
Optional< Array< int > > outSegmentIndices = null )
inlinestatic

Returns the intersection points between a path and a line.

Parameters
inPathInput path.
inLineInput line.
outSegmentIndicesIndices of the path segments in which an intersection point is found.
Returns
array of intersection points. If no intersection is found, the array is empty.

◆ Intersect() [2/3]

Array< Point2D > oevislib_net.Path.Intersect ( Path inPath,
Segment2D inSegment,
Optional< Array< int > > outSegmentIndices = null )
inlinestatic

Returns the intersection points between a path and a segment.

Parameters
inPathInput path.
inSegmentInput segment.
outSegmentIndicesIndices of the path segments in which an intersection point is found.
Returns
array of intersection points. If no intersection is found, the array is empty.

◆ Intersect() [3/3]

Array< Point2D > oevislib_net.Path.Intersect ( Path inPath1,
Path inPath2,
Optional< Array< int > > outSegmentIndices1,
Optional< Array< int > > outSegmentIndices2 )
inlinestatic

Returns the intersection points of two paths.

Parameters
inPath1First path.
inPath2Second path.
outSegmentIndices1Indices of the segments of the first path in which an intersection is found.
outSegmentIndices2Indices of the segments of the second path in which an intersection is found.
Returns
array of intersection points. If no intersection is found, the array is empty.

◆ Split() [1/3]

Array< Path > oevislib_net.Path.Split ( Line2D inLine)
inline

Splits the path at the intersections with the provided object.

Parameters
inLineObject used for splitting.
Returns
Array containing the pieces extracted from the original path.

◆ Split() [2/3]

Array< Path > oevislib_net.Path.Split ( Path inPath)
inline

Splits the path at the intersections with the provided object.

Parameters
inPathObject used for splitting.
Returns
Array containing the pieces extracted from the original path.

◆ Split() [3/3]

Array< Path > oevislib_net.Path.Split ( Segment2D inSegment)
inline

Splits the path at the intersections with the provided object.

Parameters
inSegmentObject used for splitting.
Returns
Array containing the pieces extracted from the original path.