C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Wire frame point. More...
#include <wireframe_point.h>
Public Member Functions | |
MbWireFramePoint () | |
Default constructor. | |
MbWireFramePoint (const MbWireFramePoint &other) | |
Copy constructor. | |
bool | InitPointOnVertex (const MbWireFrame &wireFrame, size_t edgeIndex, bool firstVertex) |
Initialization by parameters. More... | |
bool | InitPointOnEdge (const MbWireFrame &wireFrame, size_t edgeIndex, double edgeParam) |
Initialization by parameters. More... | |
const MbCartPoint3D & | GetEdgePoint () const |
Get point. | |
size_t | GetEdgeIndex () const |
Get edge number. | |
double | GetEdgeParam () const |
Get edge parameter. | |
bool | IsSame (const MbWireFramePoint &other, double accuracy) const |
Determine whether an object is equal? | |
void | Transform (const MbMatrix3D &matrix) |
Transform element by matrix. | |
void | Rotate (const MbAxis3D &axis, double angle) |
rotate a point around an arbitrary axis. | |
void | Move (const MbVector3D &to) |
Move a point around on arbitrary vector. | |
bool | IsValid () const |
Checking the correctness of the created object. | |
void | SetEdgeIndex (size_t ind) |
Set edge number. | |
const MbWireFramePoint & | operator= (const MbWireFramePoint &other) |
Assignment operator. | |
bool | operator== (const MbWireFramePoint &other) const |
Comparison operator. | |
bool | operator< (const MbWireFramePoint &other) const |
Comparison operator. | |
bool | IsEqual (const MbWireFramePoint &other, double tRegion, double mEpsilon) const |
Check for an equality. | |
Wire frame point.
Wire frame point. Belong to on one of the edges of the frame, taking into account the tolerance of the vertices. Contains information about the edge number and edge parameter.
bool MbWireFramePoint::InitPointOnVertex | ( | const MbWireFrame & | wireFrame, |
size_t | edgeIndex, | ||
bool | firstVertex | ||
) |
Initialization by parameters.
Initialization wire frame edge vertex by parameters.
[in] | wireFrame | - WireFrame. |
[in] | edgeIndex | - Index of the edge in the frame. |
[in] | firstVertex | - First vertex. |
bool MbWireFramePoint::InitPointOnEdge | ( | const MbWireFrame & | wireFrame, |
size_t | edgeIndex, | ||
double | edgeParam | ||
) |
Initialization by parameters.
Initialization point on edge curve.
[in] | wireFrame | - WireFrame. |
[in] | edgeIndex | - Index of the edge in the frame. |
[in] | edgeParam | - Edge parameter. |