20 #include "axlCoreExport.h"
27 class axlShapePrivate;
51 Edge():indexStartVertex(0), indexEndVertex(1), curve(NULL) {};
91 axlShape(
int vertexCount,
int edgeCount,
int faceCount,
axlShape* parent = 0);
100 QVector<axlPoint*> getVertices(
void)
const;
105 QVector<Edge*> getEdges(
void)
const;
110 QVector<Face*> getFaces(
void)
const;
115 int getVertexCount(
void)
const;
120 int getEdgeCount(
void)
const;
125 int getFaceCount(
void)
const;
130 virtual QString description(
void)
const;
134 virtual QString identifier(
void)
const;
139 void insert_vertex(
axlPoint* vertex,
int index);
144 void insert_edge(
Edge* edge,
int index);
155 void sortEdges(
Loop* loop);
165 void sortLoops(
Face* face);
170 void insert_face(
Face *face,
int index);
Class axlPoint defines 3D points.
Edge(axlAbstractCurveParametric *crv, int si, int ei)
Constructor from a parametric curve pointer, the starting and ending indices;.
axlAbstractCurveParametric * curve
Pointer to the parametric curve supporting the edge, of type axlAbstractCurveParametric.
int indexStartVertex
Index of the starting point of the edge in the array of vertices of the axlShape. ...
QVector< int > edges
Vector of indices of the edges of the loop in the array of edges of the axlShape. ...
virtual int convertQVariantToData(const QVariantList &data)
Modify properties and geometry variables of the axlAbstractData. Return 1 if the modification was suc...
Generic interface for parametric curve.
virtual QVariantList convertDataToQVariant(void) const
Convert an axlAbstractData into a QVariantList that specifies all properties of the axlAbstractData...
int indexEndVertex
Index of the ending point of the edge in the array of vertices of the axlShape.
QVector< bool > orientations
Vector of booleans of the same size as edges: true means the direct orientation, false is the reverse...
axlAbstractSurfaceParametric * surface
Pointer to the supporting surface of type axlAbstractSurfaceParametric.
QVector< Loop * > loops
Vector of all the loops defining the face.
Class axlAbstractData defines an API for all type of axel data.