//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09:13:50 PM CEST
//
package net.opengis.gml;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* 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.
*
* <p>Java-Klasse für TriangleType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TriangleType", propOrder = {
"exterior"
})
public class TriangleType
extends AbstractSurfacePatchType
{
@XmlElementRef(name = "exterior", namespace = "http://www.opengis.net/gml", type = JAXBElement.class)
protected JAXBElement<AbstractRingPropertyType> exterior;
@XmlAttribute(name = "interpolation")
protected SurfaceInterpolationType interpolation;
/**
* Constraint: The Ring shall be a LinearRing and must form a triangle, the first and the last position must be co-incident.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
*
*/
public JAXBElement<AbstractRingPropertyType> getExterior() {
return exterior;
}
/**
* Legt den Wert der exterior-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
* {@link JAXBElement }{@code <}{@link AbstractRingPropertyType }{@code >}
*
*/
public void setExterior(JAXBElement<AbstractRingPropertyType> value) {
this.exterior = value;
}
public boolean isSetExterior() {
return (this.exterior!= null);
}
/**
* Ruft den Wert der interpolation-Eigenschaft ab.
*
* @return
* possible object is
* {@link SurfaceInterpolationType }
*
*/
public SurfaceInterpolationType getInterpolation() {
if (interpolation == null) {
return SurfaceInterpolationType.PLANAR;
} else {
return interpolation;
}
}
/**
* Legt den Wert der interpolation-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link SurfaceInterpolationType }
*
*/
public void setInterpolation(SurfaceInterpolationType value) {
this.interpolation = value;
}
public boolean isSetInterpolation() {
return (this.interpolation!= null);
}
}