Returns true if a line between two points intersects an earth ellipsoid model.

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


public static bool LineIntersects(
	this WgsModel model,
	Vector p1,
	Vector p2,
	double kmAltitude
Visual Basic
<ExtensionAttribute> _
Public Shared Function LineIntersects ( _
	model As WgsModel, _
	p1 As Vector, _
	p2 As Vector, _
	kmAltitude As Double _
) As Boolean
Visual C++
static bool LineIntersects(
	WgsModel^ model, 
	Vector^ p1, 
	Vector^ p2, 
	double kmAltitude


Type: WgsModel
The earth ellipsoid model.
Type: Vector
Line starting point, in ECI coordinate space.
Type: Vector
Line ending point, in ECI coordinate space.
Type: System..::..Double
The minimum distance the line must be positioned near the ellipsoid surface to be considered intersecting.

Return Value

True if the line intersects, else false.

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