man SbPlane () - oriented plane in 3D
NAME
SbPlane - oriented plane in 3D
INHERITS FROM
SbPlane
SYNOPSIS
#include <Inventor/SbLinear.h>
Methods from class SbPlane:
c
}
c
}
SbPlane()
c
}
c
}
SbPlane(const SbVec3f &p0, const SbVec3f &p1, const SbVec3f &p2)
c
}
c
}
SbPlane(const SbVec3f &normal, float distance)
c
}
c
}
SbPlane(const SbVec3f &normal, const SbVec3f &point)
c
}
c
}
offset(float d)
c
}
c
}
intersect(const SbLine &l, SbVec3f &intersection) const
c
}
c
}
transform(const SbMatrix &matrix)
c
}
c
}
isInHalfSpace(const SbVec3f &point) const
c
}
c
}
getNormal() const
c
}
c
}
getDistanceFromOrigin() const
c
}
c
}
operator ==(const SbPlane &p1, const SbPlane &p2)
c
}
c
}
operator !=(const SbPlane &p1, const SbPlane &p2)
DESCRIPTION
Represents an oriented plane in 3D. This is a lightweight class/datatype that is used for arguments to some Inventor objects.
METHODS
c
}
c
}
SbPlane()
c
}
c
}
SbPlane(const SbVec3f &p0, const SbVec3f &p1, const SbVec3f &p2)
c
}
c
}
SbPlane(const SbVec3f &normal, float distance)
c
}
c
}
SbPlane(const SbVec3f &normal, const SbVec3f &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.
c
}
c
}
offset(float d)
Offset a plane by a given distance.
c
}
c
}
intersect(const SbLine &l, SbVec3f &intersection) const
Intersect line and plane, returning TRUE if there is an intersection, FALSE if line is parallel to plane.
c
}
c
}
transform(const SbMatrix &matrix)
Transforms the plane by the given matrix.
c
}
c
}
isInHalfSpace(const SbVec3f &point) const
Returns TRUE if the given point is within the half-space defined by the plane.
c
}
c
}
getNormal() const
Returns normal vector to plane.
c
}
c
}
getDistanceFromOrigin() const
Returns distance from origin to plane.
c
}
c
}
operator ==(const SbPlane &p1, const SbPlane &p2)
c
}
c
}
operator !=(const SbPlane &p1, const SbPlane &p2)
Equality/inequality comparison operators.
SEE ALSO
SbVec3f, SbLine