Package nl.b3p.csw.jaxb.gml
Class ClothoidType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
-
- nl.b3p.csw.jaxb.gml.ClothoidType
-
public class ClothoidType extends AbstractCurveSegmentType
A clothoid, or Cornu's spiral, is plane curve whose curvature is a fixed function of its length. In suitably chosen co-ordinates it is given by Fresnel's integrals. x(t) = 0-integral-t cos(AT*T/2)dT y(t) = 0-integral-t sin(AT*T/2)dT This geometry is mainly used as a transition curve between curves of type straight line to circular arc or circular arc to circular arc. With this curve type it is possible to achieve a C2-continous transition between the above mentioned curve types. One formula for the Clothoid is A*A = R*t where A is constant, R is the varying radius of curvature along the the curve and t is the length along and given in the Fresnel integrals.Java class for ClothoidType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClothoidType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractCurveSegmentType"> <sequence> <element name="refLocation"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.opengis.net/gml}AffinePlacement"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="scaleFactor" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="startParameter" type="{http://www.w3.org/2001/XMLSchema}double"/> <element name="endParameter" type="{http://www.w3.org/2001/XMLSchema}double"/> </sequence> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClothoidType.RefLocationJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected doubleendParameterprotected ClothoidType.RefLocationrefLocationprotected BigDecimalscaleFactorprotected doublestartParameter-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
numDerivativeInterior, numDerivativesAtEnd, numDerivativesAtStart
-
-
Constructor Summary
Constructors Constructor Description ClothoidType()Default no-arg constructorClothoidType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, ClothoidType.RefLocation refLocation, BigDecimal scaleFactor, double startParameter, double endParameter)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetEndParameter()Gets the value of the endParameter property.ClothoidType.RefLocationgetRefLocation()Gets the value of the refLocation property.BigDecimalgetScaleFactor()Gets the value of the scaleFactor property.doublegetStartParameter()Gets the value of the startParameter property.voidsetEndParameter(double value)Sets the value of the endParameter property.voidsetRefLocation(ClothoidType.RefLocation value)Sets the value of the refLocation property.voidsetScaleFactor(BigDecimal value)Sets the value of the scaleFactor property.voidsetStartParameter(double value)Sets the value of the startParameter property.-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart
-
-
-
-
Field Detail
-
refLocation
protected ClothoidType.RefLocation refLocation
-
scaleFactor
protected BigDecimal scaleFactor
-
startParameter
protected double startParameter
-
endParameter
protected double endParameter
-
-
Constructor Detail
-
ClothoidType
public ClothoidType()
Default no-arg constructor
-
ClothoidType
public ClothoidType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, ClothoidType.RefLocation refLocation, BigDecimal scaleFactor, double startParameter, double endParameter)
Fully-initialising value constructor
-
-
Method Detail
-
getRefLocation
public ClothoidType.RefLocation getRefLocation()
Gets the value of the refLocation property.- Returns:
- possible object is
ClothoidType.RefLocation
-
setRefLocation
public void setRefLocation(ClothoidType.RefLocation value)
Sets the value of the refLocation property.- Parameters:
value- allowed object isClothoidType.RefLocation
-
getScaleFactor
public BigDecimal getScaleFactor()
Gets the value of the scaleFactor property.- Returns:
- possible object is
BigDecimal
-
setScaleFactor
public void setScaleFactor(BigDecimal value)
Sets the value of the scaleFactor property.- Parameters:
value- allowed object isBigDecimal
-
getStartParameter
public double getStartParameter()
Gets the value of the startParameter property.
-
setStartParameter
public void setStartParameter(double value)
Sets the value of the startParameter property.
-
getEndParameter
public double getEndParameter()
Gets the value of the endParameter property.
-
setEndParameter
public void setEndParameter(double value)
Sets the value of the endParameter property.
-
-