XML-三角化表面

XML-三角化表面几何构建器构建网格几何形状。

This builder does not require any data parameters, and will construct the mesh geometry from existing surface and area geometries. Thus, before the xml-triangulated-surface geometry builder is deactivated, other geometry builders should have been activated, passing their constructed surfaces and areas to the xml-triangulated-surface geometry builder

builder type:复合 - 接受表面和区域几何形状

geometry constructed:

data parameters:

The following demote-incomplete-geometry and allow-empty-composite data parameters change how the geometry is handled in error conditions. If both of the data parameters are set to false, whenever the geometry builder receives no simple surfaces to create a composite surface from, it will raise an error and terminate the translation.

Data Name

价值

必填/可选

demote-incomplete-geometry

This boolean parameter determines if an incomplete geometry should be demoted instead of producing an error. If set to真的, whenever the geometry builder receives no areas or surfaces to create a mesh from, the mesh will be downgraded to a null geometry.

范围:真实|假

默认值:假

Optional

allow-empty-mesh

此数据参数确定不完整的几何图形是否应留下不完整而不是产生错误。如果设置为真的, whenever the geometry builder receives no simple surfaces or areas to create a mesh from, the mesh will be left empty and returned.

范围:真实|假

默认值:假

Optional

优化网格

Optimizes the mesh by removing all duplicate and unreferenced vertices.

范围:真实|假

默认值:假

Optional

coordinate-system

Specifies the coordinate system name. If the expression sequence for the coordinate-system evaluates to the empty string, then the coordinate system for the feature being built will not be set.

范围:字符串

Optional

name

Specifies the geometry’s name.

范围:字符串

Optional

Example: Building a composite surface

compositesurface.xml

<?XML Version =“1.0”?>   <区域> 0.0,0.0,0.0 5.0,0.0,5.0 5.0,5.0,10.0 0.0,5.0,5.0 0.0,0.0,0.0  <区域> 2.0,2.0,4.0 3.0,2.0,5.0 3.0,3.0,6.0 2.0,3.0,5.0 2.0,2.0,4.0    <区域> 0.0,0.0,0.0 5.0,0.0,0.05.0,0.0,5.0 0.0,0.0,0.0   

compositesurface.xmp