Segment3D.Intersection (Segment3D, Segment3D, Boolean, out Point3D, out Point3D, out Double, out Double) Method
Public Shared Function Intersection( _
ByVal segA As Segment3D, _
ByVal segB As Segment3D, _
ByVal infinite As Boolean, _
ByRef pointOnA As Point3D, _
ByRef pointOnB As Point3D, _
ByRef paramOnA As Double, _
ByRef paramOnB As Double _
) As Boolean
This language is not supported or no code example is available.
Parameters
- segA
- Segment3D
The first segment
- segB
- Segment3D
The second segment
- infinite
- bool
If true, the Segment3Ds are treated as an infinite lines
- pointOnA
- Point3D
The end point on segA
- pointOnB
- Point3D
The end point on segB
- paramOnA
- double
The parameter of the end point on segA
- paramOnB
- double
The parameter of the end point on segB
Return Value
boolTrue if there is one shortest segment perpendicular to segA and segB, false otherwise.
If pointOnA and pointOnB coincide, there is an intersection between the two segments. When the segments are parallel, it always returns false and the points are null.