SbPlane()SbPlane(constSbVec3f&p0,constSbVec3f&p1,constSbVec3f&p2)SbPlane(constSbVec3f&normal,floatdistance)SbPlane(constSbVec3f&normal,constSbVec3f&point)
Constructors. p0, p1, and p2 represent three points in the plane. normal is a normal vector, distance
is distance from origin to plane along normal vector, and point is a point in 3-space for the plane to
pass through.
voidoffset(floatd)
Offset a plane by a given distance.
SbBoolintersect(constSbLine&l,SbVec3f&intersection)const
Intersect line and plane, returning TRUE if there is an intersection, FALSE if line is parallel to
plane.
voidtransform(constSbMatrix&matrix)
Transforms the plane by the given matrix.
SbBoolisInHalfSpace(constSbVec3f&point)const
Returns TRUE if the given point is within the half-space defined by the plane.
constSbVec3f&getNormal()const
Returns normal vector to plane.
floatgetDistanceFromOrigin()const
Returns distance from origin to plane.
intoperator==(constSbPlane&p1,constSbPlane&p2)intoperator!=(constSbPlane&p1,constSbPlane&p2)
Equality/inequality comparison operators.