#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 | ) |
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::testMirroredOffsetFailureCase().
◆ Near()
Friends And Related Function Documentation
◆ operator<<
|
friend |
Member Data Documentation
◆ d
double geoff_geometry::Plane::d |
Referenced by Dist(), Intof(), Mirrored(), and Plane().
◆ normal
Vector3d geoff_geometry::Plane::normal |
◆ ok
The documentation for this class was generated from the following files:
- Sources/FreeCAD/src/Mod/Path/libarea/kurve/geometry.h
- Sources/FreeCAD/src/Mod/Path/libarea/kurve/Construction.cpp
- Sources/FreeCAD/src/Mod/Path/libarea/kurve/Matrix.cpp