#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) |
geoff_geometry::Plane::Plane | ( | double | dist, |
const Vector3d & | n | ||
) |
References d, DraftVecUtils::dist(), normal, geoff_geometry::Vector3d::normalise(), and ok.
References d, normal, geoff_geometry::Vector3d::normalise(), and ok.
References d, normal, geoff_geometry::Vector3d::normalise(), and ok.
double geoff_geometry::Plane::Dist | ( | const Point3d & | p | ) | const |
References d, normal, and geoff_geometry::UNIT_VECTOR_TOLERANCE.
Referenced by Intof(), and geoff_geometry::tangential_arc().
References Intof().
void geoff_geometry::Plane::Mirrored | ( | Matrix * | m | ) |
References d, geoff_geometry::Matrix::e, geoff_geometry::Vector3d::getx(), geoff_geometry::Vector3d::gety(), geoff_geometry::Vector3d::getz(), geoff_geometry::Matrix::m_mirrored, geoff_geometry::Matrix::m_unit, normal, and geoff_geometry::Matrix::Unit().
Referenced by Mod.PartDesign.PartDesignTests.TestMirrored.TestMirrored::testMirroredOffsetCase().
|
friend |
double geoff_geometry::Plane::d |
Referenced by Dist(), Intof(), Mirrored(), and Plane().
Vector3d geoff_geometry::Plane::normal |