Class 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>
     
    • Field Detail

      • startParameter

        protected double startParameter
      • endParameter

        protected double endParameter
    • Constructor Detail

      • ClothoidType

        public ClothoidType()
        Default no-arg constructor
    • Method Detail

      • 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 is BigDecimal
      • 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.