API Reference > OdDb Classes > OdDbPolygonMesh Class
OdDbPolygonMesh Class
OdDbPolygonMeshOdDbPolygonMeshOdDbPolygonMesh
Syntax
C++
class OdDbPolygonMesh : public OdDbEntity;

DbPolygonMesh.h

This class represents PolygonMesh entities in an OdDbDatabase instance.

A PolygonMesh entity consists of a list of PolygonMeshVertex (coordinate) vertices describing a M x N array of vertices, defining a set of 3D faces. 

M is the number vertices in a row, N is the number of vertices in a column. The first N vertices define the first column, the second N, the second column, etc. 

The mesh may be closed in the M and/or N directions. A closed mesh is connected from the last row or column to the first. 

Never derive from this class. 

 

 
Name 
Description 
 
 
 
Name 
Description 
 
Appends the specified vertex onto this PolygonMesh entity.
 
 
Uses surfaceFit() to convert mesh type of this PolygonMesh entity (DXF 75).
 
 
Reads the .dwg file data of this object.
 
 
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF format data of this object from the specified filer.
 
 
Reads the DXF data of this object.
 
 
Reads the DXF R12 format data of this object.
 
 
Writes the DXF format data of this object to the specified filer.
 
 
Writes the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
 
 
Returns the plane that contains this entity.
 
 
Returns true if and only if this PolygonMesh entity is closed in the M direction (DXF 70, bit 0x01). 
 
Returns true if and only if this PolygonMesh entity is closed in the N direction (DXF 70, bit 0x20). 
 
Returns true if and only if this entity is planar. 
 
Sets this PolygonMesh entity closed in the M direction (DXF 70, bit 0x01). 
 
Sets this PolygonMesh entity opened in the M direction (DXF 70, bit 0x01). 
 
Sets this PolygonMesh entity closed in the N direction (DXF 70, bit 0x20). 
 
Sets this PolygonMesh entity opened in the N direction (DXF 70, bit 0x20). 
 
Returns the number of vertices in the M direction for this PolygonMesh entity (DXF 71). 
 
Returns the M surface density for this PolygonMesh entity (DXF 73). 
 
Returns the number of vertices in the N direction for this PolygonMesh entity (DXF 72). 
 
Returns the N surface density for this PolygonMesh entity (DXF 74). 
 
Opens the OdDbSequenceEnd entity for this PolygonMesh entity.
 
 
Opens a vertex owned by this PolygonMesh entity.
 
 
Returns the mesh type of this PolygonMesh entity (DXF 75). 
 
Sets the number of vertices in the M direction for this PolygonMesh entity (DXF 71).  
 
Sets the M surface density for this PolygonMesh entity (DXF 73).  
 
Sets the number of vertices in the N direction for this PolygonMesh entity (DXF 72).  
 
Sets the M surface density for this PolygonMesh entity (DXF 74).  
 
Sets the mesh type of this PolygonMesh entity (DXF 75).
 
 
Removes all the surface fit vertices for this PolygonMesh entity. 
 
Called as the first operation as this object is being closed, for database -resident objects only. 
 
 
 
overridables 
 
 
 
 
 
 
 
 
 
This is the overview for the surfaceFit method overload. 
 
Returns an Iterator that can be used to traverse the vertices owned by this PolygonMesh entity. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.