C3D Toolkit
Kernel - 117958, Vision - 2.7.6.12
|
Quadrangle. More...
#include <mesh_triangle.h>
Public Member Functions | |
MbQuadrangle () | |
Constructor. | |
MbQuadrangle (uint j0, uint j1, uint j2, uint j3, bool orientation) | |
Constructor. | |
MbQuadrangle (const MbQuadrangle &init) | |
The copy-constructor. | |
~MbQuadrangle () | |
Destructor. | |
MbQuadrangle & | operator= (const MbQuadrangle &init) |
The assignment operator. | |
void | Init (uint j0, uint j1, uint j2, uint j3, bool orientation) |
Initialization. | |
bool | GetQuadrangle (uint &i0, uint &i1, uint &i2, uint &i3) const |
Get indices of quadrangle vertices in the array of points. More... | |
void | GetTriangles (MbTriangle &, MbTriangle &) const |
Get a pair of triangles consisting the quadrangle. | |
uint | GetIndex (size_t n) const |
Get index of n-th quadrangle vertex in the array of points. | |
void | Reverse () |
Reverse the sequence of vertices. | |
template<class ParamPoints > | |
bool | IntersectRect (const MbRect &rect, const ParamPoints &points) const |
Determine whether the projection of the quadrangle to the global XY-plane intersects the given rectangle. | |
template<class ParamPoints > | |
void | GetGabRect (MbRect &rect, const ParamPoints &points) const |
Calculate bounding rectangle of the projection of quadrangle to the global XY-plane. | |
void | GetProperties (MbProperties &properties) |
Get properties of the object. | |
void | SetProperties (const MbProperties &properties) |
Set properties of the object. | |
Protected Attributes | |
uint | pIndex [4] |
Indices of quadrangle vertices in the array of points. //-V112. | |
Quadrangle.
Quadrangle defined as a quadruple of elements' indices form the array of vertices of MbGrid triangulation.
|
inline |
Get indices of quadrangle vertices in the array of points.
Get indices of quadrangle plate.