Back to class index
Plane[Class Summary]
normal
d
ctor (+6 overloads)
IsDegenerate()[const]
Set(v1,v2,v3) (+1 overload)
ReverseNormal()
PointOnPlane()[const]
Point(u,v)[const] (+1 overload)
Translate(offset)
Transform(transform) (+3 overloads)
IsInPositiveDirection(directionVector)[const]
IsOnPositiveSide(point)[const]
ExamineSide(triangle)[const]
AreOnSameSide(p1,p2)[const]
Distance(point)[const] (+4 overloads)
SignedDistance(point)[const] (+11 overloads)
OrthoProjection()[const]
Project(point)[const] (+5 overloads)
ProjectToNegativeHalf(point)[const]
ProjectToPositiveHalf(point)[const]
MirrorMatrix()[const]
Mirror(point)[const]
Refract(...)[const]
ClosestPoint(point)[const] (+2 overloads)
Contains(point,epsilon)[const] (+6 overloads)
SetEquals(plane,epsilon)[const]
Equals(other,epsilon)[const]
BitEquals(other)[const]
IsParallel(plane,epsilon)[const]
DihedralAngle(plane)[const]
Intersects(...)[const] (+14 overloads)
Clip(line)[const] (+3 overloads)
PassesThroughOrigin(epsilon)[const]
GenerateCircle(...)[const]
ToString()[const]
SerializeToString()[const]
SerializeToCodeString()[const]
IntersectLinePlane(...)[static]
FromString(str,outEndStr)[static] (+1 overload)

Plane::Point

Syntax

float4 Plane::Point(float u, float v) const; [6 lines of code]

Returns a point on this plane, parameterized at the given coordinates.

The basis directions for U and V are arbitrarily (but consistently) defined. Calling Point(0,0) is the same as calling PointOnPlane().

See Also

PointOnPlane().

Syntax

float4 Plane::Point(float u, float v, const float4 &referenceOrigin) const; [6 lines of code]

Returns a point on this plane, parameterized at the given coordinates.

The basis directions for U and V are arbitrarily (but consistently) defined.

Parameters

const float4 &referenceOriginA point that defines an origin for the returned points. This point does not have to lie on this plane. Calling Point(0, 0, referenceOrigin) returns the point referenceOrigin projected onto this plane. Calling Point(u, v) is the same as calling Point(u, v, PointOnPlane()).

See Also

PointOnPlane().