MeshKit  1.0
Plane Class Reference

#include <3D.h>

List of all members.

Public Member Functions

 Plane ()
 Plane (const Vec3 &p, const Vec3 &q, const Vec3 &r)
 Plane (const array< Vec3 > &verts)
 Plane (const Plane &p)
void calcFrom (const Vec3 &p, const Vec3 &q, const Vec3 &r)
void calcFrom (const array< Vec3 > &)
bool isValid () const
void markInvalid ()
double distTo (const Vec3 &p) const
const Vec3normal () const
void coeffs (double *a, double *b, double *c, double *dd) const
Vec4 coeffs () const

Private Attributes

Vec3 n
double d

Detailed Description

Definition at line 24 of file 3D.h.


Constructor & Destructor Documentation

Plane ( ) [inline]

Definition at line 33 of file 3D.h.

Plane ( const Vec3 p,
const Vec3 q,
const Vec3 r 
) [inline]

Definition at line 34 of file 3D.h.

Plane ( const array< Vec3 > &  verts) [inline]

Definition at line 35 of file 3D.h.

Plane ( const Plane p) [inline]

Definition at line 36 of file 3D.h.


Member Function Documentation

void calcFrom ( const Vec3 p,
const Vec3 q,
const Vec3 r 
)

Definition at line 56 of file 3D.cpp.

void calcFrom ( const array< Vec3 > &  verts)

Definition at line 67 of file 3D.cpp.

void coeffs ( double *  a,
double *  b,
double *  c,
double *  dd 
) const [inline]

Definition at line 47 of file 3D.h.

Vec4 coeffs ( ) const [inline]

Definition at line 50 of file 3D.h.

double distTo ( const Vec3 p) const [inline]

Definition at line 44 of file 3D.h.

bool isValid ( ) const [inline]

Definition at line 41 of file 3D.h.

void markInvalid ( ) [inline]

Definition at line 42 of file 3D.h.

const Vec3& normal ( ) const [inline]

Definition at line 45 of file 3D.h.


Member Data Documentation

double d [private]

Definition at line 29 of file 3D.h.

Vec3 n [private]

Definition at line 28 of file 3D.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines