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

Functions

static Array< Point2Doevislib_net.Geometry.Intersections.Intersect (Circle2D inCircle1, Circle2D inCircle2)
 Computes the intersection points between two circles.
static Conditional< Point2Doevislib_net.Geometry.Intersections.Intersect (Segment2D inSegment1, Segment2D inSegment2)
 Computes the intersection point between two segment.
static Array< Point2Doevislib_net.Geometry.Intersections.Intersect (Array< Segment2D > inSegments, Optional< Array< int > > outFirstIntersectionIndices=null, Optional< Array< int > > outSecondIntersectionIndices=null, Optional< Array< Segment2D > > outOverlapSegments=null, Optional< Array< int > > outFirstOverlapIndices=null, Optional< Array< int > > outSecondOverlapIndices=null)
 Computes the intersection points and segments between all the segments of the input array.
static Conditional< Point2Doevislib_net.Geometry.Intersections.Intersect (Line2D inLine1, Line2D inLine2)
 Computes the intersection point between two lines.
static Conditional< Point2Doevislib_net.Geometry.Intersections.Intersect (Line2D inLine, Segment2D inSegment)
 Computes the intersection point between a line and a segment.
static Array< Point2Doevislib_net.Geometry.Intersections.Intersect (Line2D inLine, Circle2D inCircle)
 Computes the intersection points between a line and a circle.
static Array< Point2Doevislib_net.Geometry.Intersections.Intersect (Segment2D inSegment, Circle2D inCircle)
 Computes the intersection points between a segment and a circle.
static Array< Point2Doevislib_net.Geometry.Intersections.Intersect (Line2D inLine, Arc2D inArc)
 Computes the intersection points between a line and arc.
static Array< Point2Doevislib_net.Geometry.Intersections.Intersect (Segment2D inSegment, Arc2D inArc)
 Computes the intersection points between a segment and an arc.
static Conditional< Boxoevislib_net.Geometry.Intersections.Intersect (Box inBox1, Box inBox2)
 Computes the intersection area between two boxes.

Detailed Description

Function Documentation

◆ Intersect() [1/10]

Array< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Array< Segment2D > inSegments,
Optional< Array< int > > outFirstIntersectionIndices = null,
Optional< Array< int > > outSecondIntersectionIndices = null,
Optional< Array< Segment2D > > outOverlapSegments = null,
Optional< Array< int > > outFirstOverlapIndices = null,
Optional< Array< int > > outSecondOverlapIndices = null )
inlinestatic

Computes the intersection points and segments between all the segments of the input array.

Parameters
inSegmentsInput segments.
outFirstIntersectionIndicesFirst indices of the segments that intersect.
outSecondIntersectionIndicesSecond indices of the segments that intersect.
outOverlapSegmentsArray of segments which overlaps.
outFirstOverlapIndicesFirst indices of the segments in inSegments that overlap.
outSecondOverlapIndicesSecond indices of the segments in inSegments that overlap.
Returns
An array containing all the intersection points.

◆ Intersect() [2/10]

Conditional< Box > oevislib_net.Geometry.Intersections.Intersect ( Box inBox1,
Box inBox2 )
inlinestatic

Computes the intersection area between two boxes.

Parameters
inBox1First input box.
inBox2Second input box.
Returns
A box containing the area common to both input boxes. If no intersection is found, the conditional is Null.

◆ Intersect() [3/10]

Array< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Circle2D inCircle1,
Circle2D inCircle2 )
inlinestatic

Computes the intersection points between two circles.

Parameters
inCircle1First input circle.
inCircle2Second input circle.
Returns
An array containing the intersection points. The array can have a maximum size of two. If no intersection is found, the array will be empty.

◆ Intersect() [4/10]

Array< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Line2D inLine,
Arc2D inArc )
inlinestatic

Computes the intersection points between a line and arc.

Parameters
inLineInput line.
inArcInput arc.
Returns
An array containing the intersection points. The array can have a maximum size of two. If no intersection is found, the array will be empty.

◆ Intersect() [5/10]

Array< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Line2D inLine,
Circle2D inCircle )
inlinestatic

Computes the intersection points between a line and a circle.

Parameters
inLineInput line.
inCircleInput circle.
Returns
An array containing the intersection points. The array can have a maximum size of two. If no intersection is found, the array will be empty.

◆ Intersect() [6/10]

Conditional< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Line2D inLine,
Segment2D inSegment )
inlinestatic

Computes the intersection point between a line and a segment.

Parameters
inLineInput line.
inSegmentInput segment.
Returns
A conditional object containing the intersection point. If no point is found, the object will be Null.

◆ Intersect() [7/10]

Conditional< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Line2D inLine1,
Line2D inLine2 )
inlinestatic

Computes the intersection point between two lines.

Parameters
inLine1First input line.
inLine2Second input line.
Returns
A conditional object containing the intersection point. If no point is found, the object will be Null.

◆ Intersect() [8/10]

Array< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Segment2D inSegment,
Arc2D inArc )
inlinestatic

Computes the intersection points between a segment and an arc.

Parameters
inSegmentInput segment.
inArcInput arc.
Returns
An array containing the intersection points. The array can have a maximum size of two. If no intersection is found, the array will be empty.

◆ Intersect() [9/10]

Array< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Segment2D inSegment,
Circle2D inCircle )
inlinestatic

Computes the intersection points between a segment and a circle.

Parameters
inSegmentInput segment.
inCircleInput circle.
Returns
An array containing the intersection points. The array can have a maximum size of two. If no intersection is found, the array will be empty.

◆ Intersect() [10/10]

Conditional< Point2D > oevislib_net.Geometry.Intersections.Intersect ( Segment2D inSegment1,
Segment2D inSegment2 )
inlinestatic

Computes the intersection point between two segment.

Parameters
inSegment1First input segment.
inSegment2Second input segment.
Returns
A conditional object containing the intersection point. If no point is found, the object will be Null.