Returns the distance of two segments.
Namespace: JigLibX.GeometryAssembly: JigLibX (in JigLibX.dll) Version: 0.3.1.0
Syntax
C# |
---|
public static float SegmentSegmentDistanceSq( out float t0, out float t1, Segment seg0, Segment seg1 ) |
Visual Basic |
---|
Public Shared Function SegmentSegmentDistanceSq ( _ <OutAttribute> ByRef t0 As Single, _ <OutAttribute> ByRef t1 As Single, _ seg0 As Segment, _ seg1 As Segment _ ) As Single |
Visual C++ |
---|
public: static float SegmentSegmentDistanceSq( [OutAttribute] float% t0, [OutAttribute] float% t1, Segment seg0, Segment seg1 ) |
Parameters
- t0
- Type: System..::..Single%
Parametric representation of nearest point on seg0.
- t1
- Type: System..::..Single%
Parametric representation of nearest point on seg0.
- seg0
- Type: JigLibX.Geometry..::..Segment
First segment to test.
- seg1
- Type: JigLibX.Geometry..::..Segment
Second segment to test.