|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.opengis.gml.AbstractCurveSegmentType
net.opengis.gml.CubicSplineType
public class CubicSplineType
Cubic splines are similar to line strings in that they are a sequence of segments each with its own defining function. A cubic spline uses the control points and a set of derivative parameters to define a piecewise 3rd degree polynomial interpolation. Unlike line-strings, the parameterization by arc length is not necessarily still a polynomial. The function describing the curve must be C2, that is, have a continuous 1st and 2nd derivative at all points, and pass through the controlPoints in the order given. Between the control points, the curve segment is defined by a cubic polynomial. At each control point, the polynomial changes in such a manner that the 1st and 2nd derivative vectors are the same from either side. The control parameters record must contain vectorAtStart, and vectorAtEnd which are the unit tangent vectors at controlPoint[1] and controlPoint[n] where n = controlPoint.count. Note: only the direction of the vectors is relevant, not their length.
Classe Java pour CubicSplineType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="CubicSplineType">
<complexContent>
<extension base="{http://www.opengis.net/gml}AbstractCurveSegmentType">
<sequence>
<choice>
<choice maxOccurs="unbounded" minOccurs="2">
<element ref="{http://www.opengis.net/gml}pos"/>
<element ref="{http://www.opengis.net/gml}pointProperty"/>
<element ref="{http://www.opengis.net/gml}pointRep"/>
</choice>
<element ref="{http://www.opengis.net/gml}posList"/>
<element ref="{http://www.opengis.net/gml}coordinates"/>
</choice>
<element name="vectorAtStart" type="{http://www.opengis.net/gml}VectorType"/>
<element name="vectorAtEnd" type="{http://www.opengis.net/gml}VectorType"/>
</sequence>
<attribute name="interpolation" type="{http://www.opengis.net/gml}CurveInterpolationType" fixed="cubicSpline" />
<attribute name="degree" type="{http://www.w3.org/2001/XMLSchema}integer" fixed="3" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected CoordinatesType |
coordinates
|
static BigInteger |
DEGREE
|
static CurveInterpolationType |
INTERPOLATION
|
protected DirectPositionListType |
posList
|
protected List<JAXBElement<?>> |
posOrPointPropertyOrPointRep
|
protected VectorType |
vectorAtEnd
|
protected VectorType |
vectorAtStart
|
| Fields inherited from class net.opengis.gml.AbstractCurveSegmentType |
|---|
numDerivativeInterior, numDerivativesAtEnd, numDerivativesAtStart |
| Constructor Summary | |
|---|---|
CubicSplineType()
|
|
| Method Summary | |
|---|---|
CoordinatesType |
getCoordinates()
Deprecated with GML version 3.1.0. |
DirectPositionListType |
getPosList()
Obtient la valeur de la propriété posList. |
List<JAXBElement<?>> |
getPosOrPointPropertyOrPointRep()
Gets the value of the posOrPointPropertyOrPointRep property. |
VectorType |
getVectorAtEnd()
Obtient la valeur de la propriété vectorAtEnd. |
VectorType |
getVectorAtStart()
Obtient la valeur de la propriété vectorAtStart. |
boolean |
isSetCoordinates()
|
boolean |
isSetPosList()
|
boolean |
isSetPosOrPointPropertyOrPointRep()
|
boolean |
isSetVectorAtEnd()
|
boolean |
isSetVectorAtStart()
|
void |
setCoordinates(CoordinatesType value)
Définit la valeur de la propriété coordinates. |
void |
setPosList(DirectPositionListType value)
Définit la valeur de la propriété posList. |
void |
setVectorAtEnd(VectorType value)
Définit la valeur de la propriété vectorAtEnd. |
void |
setVectorAtStart(VectorType value)
Définit la valeur de la propriété vectorAtStart. |
void |
unsetPosOrPointPropertyOrPointRep()
|
| Methods inherited from class net.opengis.gml.AbstractCurveSegmentType |
|---|
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, isSetNumDerivativeInterior, isSetNumDerivativesAtEnd, isSetNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<JAXBElement<?>> posOrPointPropertyOrPointRep
protected DirectPositionListType posList
protected CoordinatesType coordinates
protected VectorType vectorAtStart
protected VectorType vectorAtEnd
public static final CurveInterpolationType INTERPOLATION
public static final BigInteger DEGREE
| Constructor Detail |
|---|
public CubicSplineType()
| Method Detail |
|---|
public List<JAXBElement<?>> getPosOrPointPropertyOrPointRep()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the posOrPointPropertyOrPointRep property.
For example, to add a new item, do as follows:
getPosOrPointPropertyOrPointRep().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<DirectPositionType>
JAXBElement<PointPropertyType>
JAXBElement<PointPropertyType>
public boolean isSetPosOrPointPropertyOrPointRep()
public void unsetPosOrPointPropertyOrPointRep()
public DirectPositionListType getPosList()
DirectPositionListTypepublic void setPosList(DirectPositionListType value)
value - allowed object is
DirectPositionListTypepublic boolean isSetPosList()
public CoordinatesType getCoordinates()
CoordinatesTypepublic void setCoordinates(CoordinatesType value)
value - allowed object is
CoordinatesTypepublic boolean isSetCoordinates()
public VectorType getVectorAtStart()
VectorTypepublic void setVectorAtStart(VectorType value)
value - allowed object is
VectorTypepublic boolean isSetVectorAtStart()
public VectorType getVectorAtEnd()
VectorTypepublic void setVectorAtEnd(VectorType value)
value - allowed object is
VectorTypepublic boolean isSetVectorAtEnd()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||