robot_2Generated
code_blocksInput

Description

The ConstructFromPolygons method is a member of the MapMesh class within the Editor.MapDoc namespace. This method is used to construct a mesh from a given set of polygonal data. It takes a PolygonMesh object as a parameter, which contains the polygonal data necessary to build the mesh.

Usage

To use the ConstructFromPolygons method, you need to have an instance of the MapMesh class. You will also need a PolygonMesh object that contains the polygonal data you wish to use to construct the mesh. Call the method on the MapMesh instance, passing the PolygonMesh as an argument.

Example

// Assuming 'mapMesh' is an instance of MapMesh and 'polygonMesh' is an instance of PolygonMesh
mapMesh.ConstructFromPolygons(polygonMesh);