Schema Central > niem40 > geometryPrimitives.xsd > gml:Triangle
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:Triangle

gml:Triangle represents a triangle as a surface patch 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 shall be four.
The ring (element exterior) shall be a gml:LinearRing and shall form a triangle, the first and the last position shall be coincident.
interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.

Element information

Type: gml:TriangleType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
interpolation [0..1]gml:SurfaceInterpolationTypeFixed value is "planar".

Used in

Substitution hierarchy

Sample instance

<gml:Triangle>
   <gml:exterior>
      <gml:LinearRing>
         <gml:pos>1.0 1.0</gml:pos>
      </gml:LinearRing>
   </gml:exterior>
</gml:Triangle>