Click or drag to resize

PolyfaceMeshFace Class

Represents a polyface mesh face.
Inheritance Hierarchy
SystemObject
  DXFReaderNETDxfObject
    DXFReaderNET.EntitiesPolyfaceMeshFace

Namespace:  DXFReaderNET.Entities
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class PolyfaceMeshFace : DxfObject, 
	ICloneable

The PolyfaceMeshFace type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCodeName
Gets the dxf entity type string.
(Inherited from DxfObject.)
Public propertyColor
Gets or sets the face color.
Public propertyHandle
Gets the handle assigned to the dxf object.
(Inherited from DxfObject.)
Public propertyOwner
Gets the owner of the actual dxf object.
(Inherited from DxfObject.)
Public propertyVertexIndexes
Gets the list of indexes to the vertex list of a polyface mesh that makes up the face.
Top
Methods
  NameDescription
Public methodClone
Creates a new PolyfaceMeshFace that is a copy of the current instance.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Overrides DxfObjectToString.)
Top
Remarks
The way the vertex indexes for a polyface mesh are defined follows the dxf documentation. The values of the vertex indexes specify one of the previously defined vertexes by the index in the list plus one. If the index is negative, the edge that begins with that vertex is invisible. For example if the vertex index in the list is 0 the vertex index for the face will be 1, and if the edge between the vertexes 0 and 1 is hidden the vertex index for the face will be -1.
The maximum number of vertexes per face is 4.
See Also