Wiki > TV3D65 Index > TVMathLibrary

IntersectionXZPlane

DESCRIPTION

Performs a ray-plane intersection using plane parallel with XZ plane.

DECLARATION

VB.NET IntersectionXZPlane(fY As Single , vPointAbove As TV_3DVECTOR , vPointBelow As TV_3DVECTOR) As TV_3DVECTOR
C++ cTV_3DVECTOR IntersectionXZPlane(float fY , cTV_3DVECTOR vPointAbove , cTV_3DVECTOR vPointBelow)

PARAMETERS

NAMEOPTIONALDESCRIPTION
fYNoPlane altitude
vPointAboveNoRay starting point (above the plane)
vPointBelowNoRay end point (below the plane)

RETURN VALUE

TV_3DVECTOR Ray-plane intersection point.

EXAMPLES

ExampleBasic example.

TIPS

  • Can be combined with mouse-picking.
 
tvmathlibrary/intersectionxzplane.txt · Last modified: 2010/05/06 12:10 by 129.215.4.130