Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

2ad97ae1 7d61 4af8 7ed2 ab57feebd05b

haplokuon edited this page May 6, 2023 · 1 revision

PolygonMesh Class

netDxf 3.0.0 Library

Represents a mesh grid entity.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public class PolygonMesh : EntityObject

VB

Public Class PolygonMesh
	Inherits EntityObject

C++

public ref class PolygonMesh : public EntityObject

F#

type PolygonMesh = 
    class
        inherit EntityObject
    end
Inheritance Object → DxfObjectEntityObject → PolygonMesh

Constructors

PolygonMesh Initializes a new instance of the PolygonMesh class.

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
Color Gets or sets the entity color.
(Inherited from EntityObject)
DefaultSurfU Gets or sets if the default SurfU value.
DefaultSurfV Gets or sets if the default SurfV value.
DensityU Smooth surface U density.
DensityV Smooth surface V density
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsClosedInU Gets or sets if the polygon mesh is closed along the U direction (local X axis).
IsClosedInV Gets or sets if the polygon mesh is closed along the V direction (local Y axis).
IsVisible Gets or set the entity visibility.
(Inherited from EntityObject)
Layer Gets or sets the entity layer.
(Inherited from EntityObject)
Linetype Gets or sets the entity line type.
(Inherited from EntityObject)
LinetypeScale Gets or sets the entity line type scale.
(Inherited from EntityObject)
Lineweight Gets or sets the entity line weight, one unit is always 1/100 mm (default = ByLayer).
(Inherited from EntityObject)
Normal Gets or sets the entity normal.
(Inherited from EntityObject)
Owner Gets the owner of the actual DXF object.
(Inherited from EntityObject)
Reactors Gets the list of DXF objects that has been attached to this entity.
(Inherited from EntityObject)
SmoothType Gets or sets the polyline smooth type.
Transparency Gets or sets layer transparency (default: ByLayer).
(Inherited from EntityObject)
Type Gets the entity type.
(Inherited from EntityObject)
U Gets the number of vertexes along the U direction (local X axis).
V Gets the number of vertexes along the V direction (local Y axis).
Vertexes Gets the mesh vertexes.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone Creates a new PolygonMesh that is a copy of the current instance.
(Overrides EntityObject.Clone())
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Explode Decompose the actual polygon mesh into faces 3D.
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
GetVertex Gets a PolygonMesh vertex by its indexes.
MeshVertexes() Obtains a list of vertexes that represent the polygon mesh approximating the surface faces as necessary.
MeshVertexes(Int32, Int32) Obtains a list of vertexes that represent the polygon mesh approximating the surface faces as necessary.
SetVertex Set a PolygonMesh vertex by its indexes.
ToMesh() Converts the actual polygon mesh into a mesh entity approximating the surface faces as necessary.
ToMesh(Int32, Int32) Converts the actual polygon mesh into a mesh entity approximating the surface faces as necessary.
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from EntityObject)
TransformBy(Matrix4) Moves, scales, and/or rotates the current entity given a 4x4 transformation matrix.
(Inherited from EntityObject)
TransformBy(Matrix3, Vector3) Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
(Overrides EntityObject.TransformBy(Matrix3, Vector3))

Events

LayerChanged
(Inherited from EntityObject)
LinetypeChanged
(Inherited from EntityObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally