|
| MbHomogeneous3D () |
| Default constructor.
|
|
| MbHomogeneous3D (const MbVector3D &v, double ww) |
| The constructor by a point and a weight.
|
|
| MbHomogeneous3D (const MbHomogeneous3D &v) |
| Copy constructor.
|
|
| MbHomogeneous3D (double initX, double initY, double initZ, double initW) |
| The constructor by point components and weight.
|
|
void | Init (double xx, double yy, double zz, double ww) |
| The initialization by point components and weight.
|
|
void | Init (const MbCartPoint3D &pnt, double weight) |
| The initialization by point components and weight.
|
|
void | SetZero () |
| Set a vector with null length.
|
|
MbHomogeneous3D & | Duplicate () const |
| Create a copy of the element.
|
|
void | Transform (const MbMatrix3D &matr) |
| Transform element according to the matrix.
|
|
double | GetWeight () const |
| Get a point weight.
|
|
void | GetCartPoint (MbCartPoint3D &pnt) const |
| Calculate cartesian coordinates as point.
|
|
void | GetVector (MbVector3D &vect) const |
| Calculate cartesian coordinates as vector.
|
|
void | Set (const MbCartPoint3D &pnt) |
| Transform a point to homogeneous coordinates.
|
|
void | Set (const MbCartPoint3D &pnt, double weight) |
| Transform a point to homogeneous coordinates.
|
|
void | Set (const MbVector3D &vect, double weight) |
| Transform a vector to homogeneous coordinates.
|
|
void | Set (const MbCartPoint3D &pnt1, double weight1, const MbCartPoint3D &pnt2, double weight2) |
| Set by points. More...
|
|
void | Add (const MbCartPoint3D &pnt, double weight) |
| Add a point. More...
|
|
void | Add (const MbCartPoint3D &pnt1, double weight1, const MbCartPoint3D &pnt2, double weight2) |
| Add points. More...
|
|
void | Dec (const MbHomogeneous3D &p1, const MbHomogeneous3D &p2, double kk) |
| Subtract p2 - p1 multiple by kk.
|
|
void | Set (const MbHomogeneous3D &v1, double t1) |
| Equate coordinates of vector with coordinates of point v1 multiplied by t1. More...
|
|
void | Set (const MbHomogeneous3D &v1, double t1, const MbHomogeneous3D &v2, double t2) |
| Equate vector coordinates with sum of points v1 and v2 multiplied with t1 and t2 correspondingly.
|
|
void | Set (const MbHomogeneous3D &v1, double t1, const MbHomogeneous3D &v2, double t2, const MbHomogeneous3D &v3, double t3) |
| Equate vector coordinates with coordinates of sum of vectors v1, v2 and v3 multiplied with t1, t2 and t3 correspondingly.
|
|
void | Set (const MbHomogeneous3D &v1, double t1, const MbHomogeneous3D &v2, double t2, const MbHomogeneous3D &v3, double t3, const MbHomogeneous3D &v4, double t4) |
| Equate vector coordinates with coordinates of sum of points v1, v2, v3 and v4 multiplied with t1, t2, t3 and t4 correspondingly.
|
|
void | Set (const MbHomogeneous3D &v1, double t1, const MbHomogeneous3D &v2, double t2, const MbHomogeneous3D &v3, double t3, const MbHomogeneous3D &v4, double t4, const MbHomogeneous3D &v5, double t5) |
| Equate vector coordinates with coordinates of sum of points v1, v2, v3 and v4 multiplied with t1, t2, t3, t4, t5 correspondingly.
|
|
void | Add (const MbHomogeneous3D &v, double t) |
| Add vector p multiplied by kk.
|
|
|
MbHomogeneous3D | operator+ (const MbHomogeneous3D &with) const |
| Add two points.
|
|
MbHomogeneous3D | operator- (const MbHomogeneous3D &with) const |
| Subtract a point from the point.
|
|
MbHomogeneous3D | operator/ (double factor) const |
| Divide point coordinates by a number.
|
|
void | operator= (const MbHomogeneous3D &) |
| Assign a value.
|
|
void | operator*= (double factor) |
| Multiply point coordinates by a number.
|
|
void | operator/= (double factor) |
| Divide point coordinates by a number.
|
|
void | operator+= (const MbHomogeneous3D &with) |
| Add coordinates of the point.
|
|
bool | operator== (const MbHomogeneous3D &) const |
| Check for equality.
|
|
bool | operator!= (const MbHomogeneous3D &) const |
| Check for inequality.
|
|
bool | IsSame (const MbHomogeneous3D &other, double accuracy) const |
| Are the objects equal? More...
|
|