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
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated for Coin by Doxygen 1.8.1.