A element of the 3d drawing. More...
void | addPointArray(pointArray polygon, int level,bool side ) |
void | addSlantSide(pointArray bottom,pointArray top, int levelBottom, int levelTop) |
void | addSide(pointArray polygon,int levelBottom, int levelTop) |
void | deselectAll() |
int | getLayer() |
int | getColorRed() |
int | getColorGreen() |
int | getColorBlue() |
string | getName() |
bool | isCellref() |
bool | isMesh() |
bool | isVisible() |
bool | select |
void | selectAll() |
void | setLayer(int layer) |
void | setName(string) |
bool | visible |
A element of the 3d drawing. This can ether be a mesh element of a cellref3d element.
If the element is a mesh, a horizontal polygon will be added to the mesh.
If the element is a mesh, a non vertical ring between the outline of the polygons ''top'' and ''bottom'' will be added to the mesh.
If the element is a mesh, the outline of the polygon will be added as a vertical ring.
select the element completely
The layer of this element is returned. For details see also setLayer. (introduced with release 20190220)
The red part of the color for an mesh element is return. For cellref nothing valid is returned. (introduced with release 20190220)
The green part of the color for an mesh element is return. For cellref nothing valid is returned. (introduced with release 20190220)
The blue part of the color for an mesh element is return. For cellref nothing valid is returned. (introduced with release 20190220)
An informative test for this element is returned. This text can be set by setName and is automaticly set by some generation tools. (introduced with release 20190220)
Returns: true, if this element is a cell reference.
Returns: true, if this element is a mesh.
Returns true, if the element is visible. An element is visible then the property visible is true and it is on a visible layer. (introduced with release 20190220)
True, if this element is completly selected.
Completely selects this element.
Sets the layer for this element. If the layer numer is an existing layer number the element color will by used from the layer setup. With an negative layer number the color set by setColor will be used to display this element. A layer is only relavant for a mesh. (introduced with release 20190220)
Sets an informative text to this element. The text is displayed in the foot of the 3d window when it is highlighted by the mouse. Also it is used in some 3d file formats. (introduced with release 20190220)
The visible property of this element. The method isVisible will additionally respect the layer this element is on.