geoff_geometry::Plane Class Reference

#include <geometry.h>

Public Member Functions

double Dist (const Point3d &p) const
 
bool Intof (const Line &l, Point3d &intof, double &t) const
 
bool Intof (const Plane &pl, Line &intof) const
 
bool Intof (const Plane &pl0, const Plane &pl1, Point3d &intof) const
 
void Mirrored (Matrix *m)
 
Point3d Near (const Point3d &p) const
 
 Plane ()
 
 Plane (const Point3d &p0, const Point3d &p1, const Point3d &p2)
 
 Plane (const Point3d &p0, const Vector3d &n, bool normalise=true)
 
 Plane (double dist, const Vector3d &n)
 

Public Attributes

double d
 
Vector3d normal
 
bool ok
 

Friends

wostream & operator<< (wostream &op, Plane &pl)
 

Constructor & Destructor Documentation

◆ Plane() [1/4]

geoff_geometry::Plane::Plane ( )

References d, and ok.

◆ Plane() [2/4]

geoff_geometry::Plane::Plane ( double  dist,
const Vector3d n 
)

◆ Plane() [3/4]

geoff_geometry::Plane::Plane ( const Point3d p0,
const Point3d p1,
const Point3d p2 
)

◆ Plane() [4/4]

geoff_geometry::Plane::Plane ( const Point3d p0,
const Vector3d n,
bool  normalise = true 
)

Member Function Documentation

◆ Dist()

double geoff_geometry::Plane::Dist ( const Point3d p) const

References d, and normal.

Referenced by Near().

◆ Intof() [1/3]

bool geoff_geometry::Plane::Intof ( const Line l,
Point3d intof,
double &  t 
) const

◆ Intof() [2/3]

bool geoff_geometry::Plane::Intof ( const Plane pl,
Line intof 
) const

◆ Intof() [3/3]

bool geoff_geometry::Plane::Intof ( const Plane pl0,
const Plane pl1,
Point3d intof 
) const

References Intof().

◆ Mirrored()

◆ Near()

Point3d geoff_geometry::Plane::Near ( const Point3d p) const

References Dist(), and normal.

Friends And Related Function Documentation

◆ operator<<

wostream & operator<< ( wostream &  op,
Plane pl 
)
friend

Member Data Documentation

◆ d

double geoff_geometry::Plane::d

Referenced by Dist(), Intof(), Mirrored(), and Plane().

◆ normal

◆ ok

bool geoff_geometry::Plane::ok

Referenced by Plane().


The documentation for this class was generated from the following files: