API Reference > OdDb Classes > OdDbSubDMesh Class
OdDbSubDMesh Class
OdDbSubDMeshOdDbSubDMeshOdDbSubDMesh
Syntax
C++
class OdDbSubDMesh : public OdDbEntity;

DbSubDMesh.h

This class represents SubDMesh entities in an OdDbDatabase instance. 

 

 
Name 
Description 
 
The default constructor. 
 
Name 
Description 
 
Clears the array of vertex colors.
 
 
Clears the array of vertex normals.
 
 
Clears the array of vertex textures.
 
 
Calculates an array of indices of all faces of current SubDMash entity that are intersected by a specified ray. Also the method returns two additional arrays containing the intersection points for each face and distances between the start point of the ray and intersection points.
 
 
Calculates the current surface area of a mesh.
 
 
Calculates the current volume of a watertight mesh.
 
 
Creates a new OdDb3dSolid object from this mesh.
 
 
This is the overview for the convertToSurface method overload. 
 
Determines the behavior for custom objects when saving to .dwg or .dxf file.
 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Extrudes connected faces along the given direction and with a given taper angle.
 
 
This is the overview for the extrudeFaces method overload. 
 
Retrieves subentities adjacent to a given one.
 
 
This is the overview for the getCrease method overload. 
 
Retrieves the base level edges.
 
 
Retrieves the base level faces.
 
 
Retrieves the face plane of a given face.
 
 
Calculates normals for all vertices of the current SubDMash entity.
 
 
Retrieves the faces for a smoothened mesh.
 
 
Calculates normals for all vertices of the current SubDMash entity taking into account the level of smoothing.
 
 
This is the overview for the getSubDividedVertexAt method overload. 
 
Retrieves the vertices for a smoothened mesh.
 
 
Retrieves the color of a given subentity.
 
 
Retrieves the material of a given subentity.
 
 
Retrieves the material mapper of a subentity.
 
 
Retrieves all subentity paths by the specified index and subentity type.
 
 
This is the overview for the getVertexAt method overload. 
 
Retrieves the array of vertex colors.
 
 
Retrieves the array of the normals for vertices.
 
 
Retrieves the array of texture coordinates.
 
 
Retrieves the base level vertices.
 
 
Checks whether a mesh is watertight.
 
 
Inverts the vertex order of each face.
 
 
Retrieves the number of edges for the base level.
 
 
Retrieves the number of faces for the base level.
 
 
Retrieves the number of faces with the current level of smoothness.
 
 
Retrieves the number of smooth faces for given base mesh faces.
 
 
Retrieves the number of vertices with the current level of smoothness.
 
 
Retrieves the number of vertices for base level.
 
 
Creates a mesh of a box.
 
 
Creates a mesh of a cone.
 
 
This is the overview for the setCrease method overload. 
 
Creates a mesh of a cylinder.
 
 
Creates a mesh of a pyramid.
 
 
Creates a mesh of a sphere.
 
 
Creates a mesh using input arrays of vertices and faces.
 
 
Sets the color of a given subentity.
 
 
Sets the material of a given subentity.
 
 
Sets the material mapper of a subentity.
 
 
Creates a mesh of a torus.
 
 
This is the overview for the setVertexAt method overload. 
 
Sets the array of vertex colors.
 
 
Sets the array of vertex normals.
 
 
Sets the array of texture coordinates.
 
 
Creates a mesh of a wedge.
 
 
Cuts a face in two using two points on different edges of the original face.
 
 
Decreases the smoothness level by one.
 
 
Increases the smoothness level by one.
 
 
Retrieves the current level of smoothness.
 
 
This is the overview for the subdRefine method overload. 
 
Explodes this entity into a set of simpler entities.
 
 
Calculates geometrical extents of this object by vertices coordinates.
 
 
Gets all graphic system markers by subentity paths.
 
 
Gets all subentity paths by graphic system marker.
 
 
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
 
 
Applies the specified 3D transformation matrix to this entity.
 
 
Draws OdDbSubDMesh to the specified OdGiWorldDraw object.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.