1 #ifndef COIN_SBDPPLANE_H
2 #define COIN_SBDPPLANE_H
29 #include <Inventor/SbVec3d.h>
34 class COIN_DLL_API SbDPPlane {
37 SbDPPlane(
const SbVec3d & normal,
const double D);
41 void offset(
const double d);
44 SbBool isInHalfSpace(
const SbVec3d & point)
const;
45 double getDistance(
const SbVec3d & point)
const;
46 const SbVec3d & getNormal(
void)
const;
47 double getDistanceFromOrigin(
void)
const;
48 friend COIN_DLL_API
int operator ==(
const SbDPPlane & p1,
const SbDPPlane & p2);
49 friend COIN_DLL_API
int operator !=(
const SbDPPlane & p1,
const SbDPPlane & p2);
51 void print(FILE * file)
const;
53 SbBool intersect(
const SbDPPlane & pl,
SbDPLine & line)
const;
60 COIN_DLL_API
int operator ==(
const SbDPPlane & p1,
const SbDPPlane & p2);
61 COIN_DLL_API
int operator !=(
const SbDPPlane & p1,
const SbDPPlane & p2);
63 #endif // !COIN_SBPLANE_H
The SbDPLine class represents a line in 3D space.SbDPLine is used by many other classes in Coin...
Definition: SbDPLine.h:32
The SbVec3d class is a 3 dimensional vector with double precision floating point coordinates.This vector class provides storage for a 3 dimensional double precision floating point vector aswell as simple floating point arithmetic operations.
Definition: SbVec3d.h:39
int operator!=(const SbBox2d &b1, const SbBox2d &b2)
Definition: SbBox2d.h:92
int operator==(const SbBox2d &b1, const SbBox2d &b2)
Definition: SbBox2d.h:88
The SbDPMatrix class is a 4x4 dimensional representation of a double-precision matrix.This class is like the SbMatrix class, but uses double-precision floating point values for its elements. For more class documentation, see SbMatrix.
Definition: SbDPMatrix.h:38