Package nl.b3p.csw.jaxb.gml
Class ArcByCenterPointType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
-
- nl.b3p.csw.jaxb.gml.ArcByCenterPointType
-
- Direct Known Subclasses:
CircleByCenterPointType
public class ArcByCenterPointType extends AbstractCurveSegmentType
This variant of the arc requires that the points on the arc have to be computed instead of storing the coordinates directly. The control point is the center point of the arc plus the radius and the bearing at start and end. This represenation can be used only in 2D.Java class for ArcByCenterPointType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ArcByCenterPointType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractCurveSegmentType"> <sequence> <choice> <choice> <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="radius" type="{http://www.opengis.net/gml}LengthType"/> <element name="startAngle" type="{http://www.opengis.net/gml}AngleType" minOccurs="0"/> <element name="endAngle" type="{http://www.opengis.net/gml}AngleType" minOccurs="0"/> </sequence> <attribute name="interpolation" type="{http://www.opengis.net/gml}CurveInterpolationType" fixed="circularArcCenterPointWithRadius" /> <attribute name="numArc" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" fixed="1" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Coordinatescoordinatesprotected AngleTypeendAngleprotected CurveInterpolationTypeinterpolationprotected BigIntegernumArcprotected PointPropertypointPropertyprotected PointReppointRepprotected Posposprotected PosListposListprotected LengthTyperadiusprotected AngleTypestartAngle-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
numDerivativeInterior, numDerivativesAtEnd, numDerivativesAtStart
-
-
Constructor Summary
Constructors Constructor Description ArcByCenterPointType()Default no-arg constructorArcByCenterPointType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, Pos pos, PointProperty pointProperty, PointRep pointRep, PosList posList, Coordinates coordinates, LengthType radius, AngleType startAngle, AngleType endAngle, CurveInterpolationType interpolation, BigInteger numArc)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinatesgetCoordinates()Deprecated with GML version 3.1.0.AngleTypegetEndAngle()Gets the value of the endAngle property.CurveInterpolationTypegetInterpolation()Gets the value of the interpolation property.BigIntegergetNumArc()Gets the value of the numArc property.PointPropertygetPointProperty()Gets the value of the pointProperty property.PointRepgetPointRep()Deprecated with GML version 3.1.0.PosgetPos()Gets the value of the pos property.PosListgetPosList()Gets the value of the posList property.LengthTypegetRadius()Gets the value of the radius property.AngleTypegetStartAngle()Gets the value of the startAngle property.voidsetCoordinates(Coordinates value)Sets the value of the coordinates property.voidsetEndAngle(AngleType value)Sets the value of the endAngle property.voidsetInterpolation(CurveInterpolationType value)Sets the value of the interpolation property.voidsetNumArc(BigInteger value)Sets the value of the numArc property.voidsetPointProperty(PointProperty value)Sets the value of the pointProperty property.voidsetPointRep(PointRep value)Sets the value of the pointRep property.voidsetPos(Pos value)Sets the value of the pos property.voidsetPosList(PosList value)Sets the value of the posList property.voidsetRadius(LengthType value)Sets the value of the radius property.voidsetStartAngle(AngleType value)Sets the value of the startAngle property.-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart
-
-
-
-
Field Detail
-
pos
protected Pos pos
-
pointProperty
protected PointProperty pointProperty
-
pointRep
protected PointRep pointRep
-
posList
protected PosList posList
-
coordinates
protected Coordinates coordinates
-
radius
protected LengthType radius
-
startAngle
protected AngleType startAngle
-
endAngle
protected AngleType endAngle
-
interpolation
protected CurveInterpolationType interpolation
-
numArc
protected BigInteger numArc
-
-
Constructor Detail
-
ArcByCenterPointType
public ArcByCenterPointType()
Default no-arg constructor
-
ArcByCenterPointType
public ArcByCenterPointType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, Pos pos, PointProperty pointProperty, PointRep pointRep, PosList posList, Coordinates coordinates, LengthType radius, AngleType startAngle, AngleType endAngle, CurveInterpolationType interpolation, BigInteger numArc)
Fully-initialising value constructor
-
-
Method Detail
-
setPos
public void setPos(Pos value)
Sets the value of the pos property.- Parameters:
value- allowed object isPos
-
getPointProperty
public PointProperty getPointProperty()
Gets the value of the pointProperty property.- Returns:
- possible object is
PointProperty
-
setPointProperty
public void setPointProperty(PointProperty value)
Sets the value of the pointProperty property.- Parameters:
value- allowed object isPointProperty
-
getPointRep
public PointRep getPointRep()
Deprecated with GML version 3.1.0. Use "pointProperty" instead. Included for backwards compatibility with GML 3.0.0.- Returns:
- possible object is
PointRep
-
setPointRep
public void setPointRep(PointRep value)
Sets the value of the pointRep property.- Parameters:
value- allowed object isPointRep
-
getPosList
public PosList getPosList()
Gets the value of the posList property.- Returns:
- possible object is
PosList
-
setPosList
public void setPosList(PosList value)
Sets the value of the posList property.- Parameters:
value- allowed object isPosList
-
getCoordinates
public Coordinates getCoordinates()
Deprecated with GML version 3.1.0. Use "posList" instead.- Returns:
- possible object is
Coordinates
-
setCoordinates
public void setCoordinates(Coordinates value)
Sets the value of the coordinates property.- Parameters:
value- allowed object isCoordinates
-
getRadius
public LengthType getRadius()
Gets the value of the radius property.- Returns:
- possible object is
LengthType
-
setRadius
public void setRadius(LengthType value)
Sets the value of the radius property.- Parameters:
value- allowed object isLengthType
-
getStartAngle
public AngleType getStartAngle()
Gets the value of the startAngle property.- Returns:
- possible object is
AngleType
-
setStartAngle
public void setStartAngle(AngleType value)
Sets the value of the startAngle property.- Parameters:
value- allowed object isAngleType
-
getEndAngle
public AngleType getEndAngle()
Gets the value of the endAngle property.- Returns:
- possible object is
AngleType
-
setEndAngle
public void setEndAngle(AngleType value)
Sets the value of the endAngle property.- Parameters:
value- allowed object isAngleType
-
getInterpolation
public CurveInterpolationType getInterpolation()
Gets the value of the interpolation property.- Returns:
- possible object is
CurveInterpolationType
-
setInterpolation
public void setInterpolation(CurveInterpolationType value)
Sets the value of the interpolation property.- Parameters:
value- allowed object isCurveInterpolationType
-
getNumArc
public BigInteger getNumArc()
Gets the value of the numArc property.- Returns:
- possible object is
BigInteger
-
setNumArc
public void setNumArc(BigInteger value)
Sets the value of the numArc property.- Parameters:
value- allowed object isBigInteger
-
-