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

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:ArcByCenterPoint

This variant of the arc requires that the points on the arc shall be computed instead of storing the coordinates directly. The single control point is the center point of the arc plus the radius and the bearing at start and end. This representation can be used only in 2D.
The element radius specifies the radius of the arc.
The element startAngle specifies the bearing of the arc at the start.
The element endAngle specifies the bearing of the arc at the end.
The interpolation is fixed as "circularArcCenterPointWithRadius".
Since this type describes always a single arc, the attribute "numArc" is fixed to "1".
The content model follows the general pattern for the encoding of curve segments.

Element information

Content

Attributes

NameOccTypeDescriptionNotes
numDerivativesAtStart [0..1]xsd:integerDefault value is "0". from type gml:AbstractCurveSegmentType
numDerivativesAtEnd [0..1]xsd:integerDefault value is "0". from type gml:AbstractCurveSegmentType
numDerivativeInterior [0..1]xsd:integerDefault value is "0". from type gml:AbstractCurveSegmentType
interpolation [0..1]gml:CurveInterpolationTypeFixed value is "circularArcCenterPointWithRadius".
numArc [1..1]xsd:integerFixed value is "1".

Used in

Substitution hierarchy

Sample instance

<gml:ArcByCenterPoint numArc="1">
   <gml:pos>1.0 1.0</gml:pos>
   <gml:radius uom="">1.0</gml:radius>
   <gml:startAngle uom="">1.0</gml:startAngle>
   <gml:endAngle uom="">1.0</gml:endAngle>
</gml:ArcByCenterPoint>