Returns the point where a line intersects an ellipsoid model.

Namespace: Zeptomoby.OrbitTools.Track
Assembly: Zeptomoby.OrbitTools.Track (in Zeptomoby.OrbitTools.Track.dll) Version: (


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++
static Vector^ Intersection(
	WgsModel^ ellipsoid, 
	Vector^ p1, 
	Vector^ p2


Type: WgsModel
The ellipsoid model.
Type: Vector
Line starting point, in ECI/ECF coordinate space.
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