## PolygonMesh

Object Hierarchy | Related C++ Class: PolygonMesh

### Inheritance

SIObject

Geometry

PolygonMesh

### Description

A PolygonMesh is a kind of Geometry. You can navigate a polygon mesh using generic objects such as Facet, Segment, Point and Sample or you can navigate using objects that are specific to the PolygonMesh such as PolygonFace, Edge, Vertex and PolygonNode.

### Methods

AddCluster | AddEmptyCluster | AddICEAttribute | AddVertexColor
ConstructPointLocators | CreateSubComponent | EvaluateClusterProperty | EvaluateNormals
EvaluatePositions | Get | Get2 | GetApproximatedMesh
GetApproximatedMeshAndAttributes | GetBoundingBox | GetBoundingCapsule | GetBoundingSphere
GetClosestLocations | GetClosestLocationsWithinRadius | GetICEAttributeFromName | GetPolygonIndexArray
GetRaycastIntersections | GetSurfacePointLocatorsFromPoints | GetTriangleNodeIndexArray | GetTriangleVertexIndexArray
GetTriangleWeightArray | IsClassOf | IsEqualTo | RemoveICEAttribute
SaveShapeKey | Set | SetupPointLocatorQueries |

### Properties

Application | Cache | Categories | Clusters
CurrentVertexColor | Edges | Facets | FullName
Help | ICEAttributes | Name | NestedObjects
Nodes | Origin | OriginPath | Parent
Points | Polygons | Samples | Segments
Triangles | Type | VertexColors | Vertices

### Examples

#### VBScript Example

    set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Cube","MeshSurface")
    set oPolygonMesh = oObject.ActivePrimitive.Geometry

### See Also

Primitive.Geometry X3DObject.AddPolygonMesh