org.deegree.geometry.standard.curvesegments
Class DefaultClothoid

java.lang.Object
  extended by org.deegree.geometry.standard.curvesegments.DefaultClothoid
All Implemented Interfaces:
Clothoid, CurveSegment

public class DefaultClothoid
extends Object
implements Clothoid

Default implementation of Clothoid segments.

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment
CurveSegment.CurveSegmentType
 
Constructor Summary
DefaultClothoid(AffinePlacement referenceLocation, double scaleFactor, double startParameter, double endParameter)
          Creates a new DefaultClothoid instance from the given parameters.
 
Method Summary
 int getCoordinateDimension()
          Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in.
 double getEndParameter()
          Returns the arc length distance from the inflection point that will be the end point for this curve segment.
 Point getEndPoint()
          Returns the end point of the segment.
 AffinePlacement getReferenceLocation()
          Returns the affine mapping that places the curve defined by the Fresnel Integrals into the coordinate reference system of this object.
 double getScaleFactor()
          Returns the value for the constant in the Fresnel's integrals.
 CurveSegment.CurveSegmentType getSegmentType()
          Returns the type of curve segment.
 double getStartParameter()
          Returns the arc length distance from the inflection point that will be the start point for this curve segment.
 Point getStartPoint()
          Returns the start point of the segment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClothoid

public DefaultClothoid(AffinePlacement referenceLocation,
                       double scaleFactor,
                       double startParameter,
                       double endParameter)
Creates a new DefaultClothoid instance from the given parameters.

Parameters:
referenceLocation - the affine mapping that places the curve defined by the Fresnel Integrals into the coordinate reference system of this object
scaleFactor - the value for the constant in the Fresnel's integrals
startParameter - the arc length distance from the inflection point that will be the start point for this curve segment
endParameter - the arc length distance from the inflection point that will be the end point for this curve segment
Method Detail

getReferenceLocation

public AffinePlacement getReferenceLocation()
Description copied from interface: Clothoid
Returns the affine mapping that places the curve defined by the Fresnel Integrals into the coordinate reference system of this object.

Specified by:
getReferenceLocation in interface Clothoid
Returns:
the affine mapping

getScaleFactor

public double getScaleFactor()
Description copied from interface: Clothoid
Returns the value for the constant in the Fresnel's integrals.

Specified by:
getScaleFactor in interface Clothoid
Returns:
the value for the constant in the Fresnel's integrals

getStartParameter

public double getStartParameter()
Description copied from interface: Clothoid
Returns the arc length distance from the inflection point that will be the start point for this curve segment.

Specified by:
getStartParameter in interface Clothoid
Returns:
the arc length distance that defines the start point

getEndParameter

public double getEndParameter()
Description copied from interface: Clothoid
Returns the arc length distance from the inflection point that will be the end point for this curve segment.

Specified by:
getEndParameter in interface Clothoid
Returns:
the arc length distance that defines the end point

getCoordinateDimension

public int getCoordinateDimension()
Description copied from interface: CurveSegment
Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in.

Specified by:
getCoordinateDimension in interface CurveSegment
Returns:
the coordinate dimension

getStartPoint

public Point getStartPoint()
Description copied from interface: CurveSegment
Returns the start point of the segment.

Specified by:
getStartPoint in interface CurveSegment
Returns:
the start point of the segment

getEndPoint

public Point getEndPoint()
Description copied from interface: CurveSegment
Returns the end point of the segment.

Specified by:
getEndPoint in interface CurveSegment
Returns:
the end point of the segment

getSegmentType

public CurveSegment.CurveSegmentType getSegmentType()
Description copied from interface: CurveSegment
Returns the type of curve segment.

Specified by:
getSegmentType in interface CurveSegment
Returns:
the type of curve segment


Copyright © 2011. All Rights Reserved.