Data models

更新时间:
复制 MD 格式

This topic describes the new data models for mesh modeling. The new data models are developed based on the Simple Features (SF) standards from Open Geospatial Consortium (OGC).

IndexSurface

The IndexSurface data model describes a polyhedron using indexes. The following figure shows a polyhedron.Figure 1

You can describe the polyhedron using the coordinates of vertices (p1, p2, p3, p4, and p5) and the following faces that are specified using indexes: (1, 2, 3), (2, 4, 3), and (4, 5, 3).

TriangleStrip

The TriangleStrip data model describes a polyhedron using consecutive points. The following figure shows a polyhedron.Figure 2

You can use the vertex coordinate sequence (p1, p2, p3, p4, p5) to define the three triangles (p1, p2, p3), (p2, p3, p4), and (p3, p4, p5).

TriangleFan

The TriangleFan data model describes a polyhedron using consecutive points. The following figure shows a polyhedron.Figure 3

The sequence of vertex coordinates (p1, p2, p3, p4, p5) defines the three triangular faces (p1,p2,p3), (p1,p3,p4), and (p1, p4, p5).