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 | ( | ) |
◆ Plane() [2/4]
geoff_geometry::Plane::Plane | ( | double | dist, |
const Vector3d & | n | ||
) |
References d, DraftVecUtils::dist(), normal, geoff_geometry::Vector3d::normalise(), and ok.
◆ Plane() [3/4]
References d, normal, geoff_geometry::Vector3d::normalise(), and ok.
◆ Plane() [4/4]
References d, normal, geoff_geometry::Vector3d::normalise(), and ok.
Member Function Documentation
◆ Dist()
double geoff_geometry::Plane::Dist | ( | const Point3d & | p | ) | const |
◆ Intof() [1/3]
References d, normal, and geoff_geometry::UNIT_VECTOR_TOLERANCE.
Referenced by Intof(), and geoff_geometry::tangential_arc().
◆ Intof() [2/3]
◆ Intof() [3/3]
References Intof().
◆ Mirrored()
void geoff_geometry::Plane::Mirrored | ( | Matrix * | m | ) |
◆ Near()
Friends And Related Function Documentation
◆ operator<<
|
friend |
Member Data Documentation
◆ d
double geoff_geometry::Plane::d |
Referenced by Dist(), Intof(), Mirrored(), geoff_geometry::operator<<(), and Plane().
◆ normal
Vector3d geoff_geometry::Plane::normal |
Referenced by Dist(), Intof(), Mirrored(), Near(), geoff_geometry::operator<<(), and Plane().
◆ ok
bool geoff_geometry::Plane::ok |
Referenced by geoff_geometry::operator<<(), and Plane().
The documentation for this class was generated from the following files:
- src/Mod/Path/libarea/kurve/geometry.h
- src/Mod/Path/libarea/kurve/Construction.cpp
- src/Mod/Path/libarea/kurve/Matrix.cpp