Class xlifepp::subdivision::CartesianFig#

template<class T_>
class CartesianFig : public xlifepp::subdivision::GeomFigure#

Public Functions

inline CartesianFig(const number_t num, const number_t bdSideNum)#

main constructor

inline virtual short faceOrientation(short indFace) const#

get back the orientation of a face. Returns 1 if positive, -1 if negative.

inline virtual number_t numberOfEdgesinFig() const#

returns the number of edges of the figure

inline virtual number_t numberOfO1Vertices() const#

returns the number of main vertices (of order 1) of the figure

inline virtual number_t numberOfVertByFace() const#

returns the number of vertices by face of the figure

virtual std::vector<number_t> rkOfHOVeOnFace(const number_t Order, const number_t i) const#

returns the high order vertices (given by their rank) of face number i >= 1

Access function returning the high order vertices (given by their rank) of face number i >= 1.

The order is not stored in this class, so it needs to be passed by argument ; it should be the correct one, otherwise the result is false. For the quadrangle, the face is the element itself and the input number i should be equal to 1. The vertices in the array vertices_ are grouped according to the following: nb_main_vertices_, (k-1)*nb_edges_, (k-1)^2*nb_faces_

Public Static Functions

static inline number_t numberOfEdges()#

returns the number of edges of the figure

static inline number_t numberOfFaces()#

returns the number of faces of the figure

static inline number_t numberOfMainVertices()#

returns the number of main vertices of the figure