Finds the intersection of two planes.
Namespace: SphericalAssembly: SphericalLib (in SphericalLib.dll) Version: 1.0.5951.32246 (1.0.0.0)
Syntax
C# |
---|
public bool GetXLine( Halfspace that, out Cartesian xdir, out Cartesian xpt ) |
Visual C++ |
---|
public: bool GetXLine( Halfspace that, [OutAttribute] Cartesian% xdir, [OutAttribute] Cartesian% xpt ) |
F# |
---|
member GetXLine : that:Halfspace * xdir:Cartesian byref * xpt:Cartesian byref -> bool |
Parameters
- that
- Type: Spherical..::..Halfspace
The halfspace of the other plane.
- xdir
- Type: Spherical..::..Cartesian%
The unit vector in the line. (Output)
- xpt
- Type: Spherical..::..Cartesian%
An arbitrary point on the line. (Out)
Return Value
The return value is 'false' if planes are parallel, 'true' otherwise.Remarks
Based on Graphics Gems III's GetXLine() in pl2plane.c at
http://www.acm.org/pubs/tog/GraphicsGems/gemsiii/pl2plane.c