Documentation for fieldgml

Complex Type: TriangleType

[Table of contents]

Super-types: AbstractSurfacePatchType < TriangleType (by extension)
Sub-types: None
Name TriangleType
Abstract no
Documentation Represents a triangle as a surface with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring must be four.
XML Instance Representation
<...
interpolation="planar [0..1]

'The attribute \"interpolation\" specifies the interpolation mechanism used for this surface patch. Currently only planar surface patches are defined in GML 3, the attribute is fixed to \"planar\", i.e. the interpolation method shall return points on a single plane. The boundary of the patch shall be contained within that plane.'

"
>
<gml:exterior> ... </gml:exterior> [1]

'Constraint: The Ring shall be a LinearRing and must form a triangle, the first and the last position must be co-incident.'

</...>
Diagram
Schema Component Representation
<complexType name="TriangleType">
<complexContent>
<extension base=" gml:AbstractSurfacePatchType ">
<sequence>
<element ref=" gml:exterior "/>
</sequence>
<attribute name="interpolation" type=" gml:SurfaceInterpolationType " fixed="planar"/>
</extension>
</complexContent>
</complexType>