#include <geometry.h>
Static Public Member Functions | |
| static CSubSpace | line (const CPoint3d &p, const CVector3d &v) |
| static CSubSpace | plane (const CPoint3d &p, const CVector3d &v1, const CVector3d &v2) |
Definition at line 224 of file geometry.h.
Create a CSubSpace representing a 3D line from a point and a vector.
| p | a point of the line | |
| v | a vector along the line |
Definition at line 102 of file geometry.cpp.
References CVector::norm().
Referenced by CPanel::add6Hems(), CSailWorker::CSailWorker(), CSailWorker::EdgeIntersect(), CSailWorker::Layout0(), CSailWorker::LayoutMitre(), CSailWorker::LayoutMitre2(), CSailWorker::LayoutRadial(), CSailWorker::LayoutTriRadial(), CSailWorker::LayoutTwist(), CSailWorker::LayoutVertical(), CSailWorker::LayoutWing(), CHullWorker::makeHull(), CSailWorker::MitreIntersect(), CHullWorker::ptKeel(), and CHullWorker::ptLowChine().
| CSubSpace CSubSpace3d::plane | ( | const CPoint3d & | p, | |
| const CVector3d & | v1, | |||
| const CVector3d & | v2 | |||
| ) | [static] |
Create a CSubSpace representing a 3D plane from a point and two vectors.
| p | a point of the plane | |
| v1 | a vector in the plane | |
| v2 | a second vector in the plane, not colinear with v1 |
Definition at line 119 of file geometry.cpp.
References CVector3d::cross(), and CVector::norm().
Referenced by CHullWorker::CHullWorker().
1.5.6