Returns the point where a line intersects an ellipsoid model.
Namespace: Zeptomoby.OrbitTools.TrackAssembly: Zeptomoby.OrbitTools.Track (in Zeptomoby.OrbitTools.Track.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
C# |
---|
public static Vector Intersection(
this WgsModel ellipsoid,
Vector p1,
Vector p2
) |
Visual Basic |
---|
<ExtensionAttribute> _
Public Shared Function Intersection ( _
ellipsoid As WgsModel, _
p1 As Vector, _
p2 As Vector _
) As Vector |
Visual C++ |
---|
[ExtensionAttribute]
public:
static Vector^ Intersection(
WgsModel^ ellipsoid,
Vector^ p1,
Vector^ p2
) |
Parameters
- ellipsoid
- Type: WgsModel
The ellipsoid model.
- p1
- Type: Vector
Line starting point, in ECI/ECF coordinate space.
- p2
- Type: Vector
Line ending point, in ECI/ECF coordinate space.
Return Value
The coordinates of the intersection point, or null to
indicate that the line does not intersect the ellipsoid.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WgsModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see
or
.
See Also