Package nl.b3p.csw.jaxb.gml
Class TriangleType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AbstractSurfacePatchType
-
- nl.b3p.csw.jaxb.gml.TriangleType
-
public class TriangleType extends AbstractSurfacePatchType
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.Java class for TriangleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TriangleType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractSurfacePatchType"> <sequence> <element ref="{http://www.opengis.net/gml}exterior"/> </sequence> <attribute name="interpolation" type="{http://www.opengis.net/gml}SurfaceInterpolationType" fixed="planar" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.bind.JAXBElement<AbstractRingPropertyType>exteriorprotected SurfaceInterpolationTypeinterpolation
-
Constructor Summary
Constructors Constructor Description TriangleType()Default no-arg constructorTriangleType(javax.xml.bind.JAXBElement<AbstractRingPropertyType> exterior, SurfaceInterpolationType interpolation)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.JAXBElement<AbstractRingPropertyType>getExterior()Constraint: The Ring shall be a LinearRing and must form a triangle, the first and the last position must be co-incident.SurfaceInterpolationTypegetInterpolation()Gets the value of the interpolation property.voidsetExterior(javax.xml.bind.JAXBElement<AbstractRingPropertyType> value)Sets the value of the exterior property.voidsetInterpolation(SurfaceInterpolationType value)Sets the value of the interpolation property.
-
-
-
Field Detail
-
exterior
protected javax.xml.bind.JAXBElement<AbstractRingPropertyType> exterior
-
interpolation
protected SurfaceInterpolationType interpolation
-
-
Constructor Detail
-
TriangleType
public TriangleType()
Default no-arg constructor
-
TriangleType
public TriangleType(javax.xml.bind.JAXBElement<AbstractRingPropertyType> exterior, SurfaceInterpolationType interpolation)
Fully-initialising value constructor
-
-
Method Detail
-
getExterior
public javax.xml.bind.JAXBElement<AbstractRingPropertyType> getExterior()
Constraint: The Ring shall be a LinearRing and must form a triangle, the first and the last position must be co-incident.- Returns:
- possible object is
OuterBoundaryIsExterior
-
setExterior
public void setExterior(javax.xml.bind.JAXBElement<AbstractRingPropertyType> value)
Sets the value of the exterior property.- Parameters:
value- allowed object isOuterBoundaryIsExterior
-
getInterpolation
public SurfaceInterpolationType getInterpolation()
Gets the value of the interpolation property.- Returns:
- possible object is
SurfaceInterpolationType
-
setInterpolation
public void setInterpolation(SurfaceInterpolationType value)
Sets the value of the interpolation property.- Parameters:
value- allowed object isSurfaceInterpolationType
-
-