Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
Example of Working with Polygon Meshes

Sample project of working with polygon meshes is located in the Drawing\Examples\DevGuide\OdPolygonMeshEx subdirectory of the ODA installation folder (for example, C:\Program Files\Open Design Alliance).

The sample project demonstrates creating a polygon mesh, and modifying and displaying its properties. The application creates a .dwg file and then prints the following information about the created polygon mesh objects:

  • Polygon mesh type.
  • 'Open' status in M direction.
  • 'Open' status in N direction.
  • Polygon mesh plane.
  • Number of rows.
  • Number of columns.
  • Number of density in M direction.
  • Number of density in N direction.
  • Number of vertices.

The application generates a .dwg file that contains four polygon mesh objects, which show specific types of the polygon meshes:

  • First polygon mesh shows the Simple polygon mesh.
  • Second polygon mesh shows the Cubic polygon mesh.
  • Third polygon mesh shows the Quadric polygon mesh.
  • Fourth polygon mesh shows the Bezier polygon mesh.

See Also

Working with Polygon Meshes

Overview of Polygon Meshes

Types of Polygon Meshes and Vertices

Specific Properties of Polygon Meshes

Working with Vertices in Polygon Meshes

Copyright © 2002 – 2022. Open Design Alliance. All rights reserved.