org.deegree.geometry.standard.curvesegments
Class DefaultArcStringByBulge

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

public class DefaultArcStringByBulge
extends Object
implements ArcStringByBulge

Default implementation of ArcStringByBulge 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
DefaultArcStringByBulge(Points controlPoints, double[] bulges, Points normals)
           
 
Method Summary
 double[] getBulges()
          Returns the bulge values.
 Points getControlPoints()
          Returns the control points of the segment.
 int getCoordinateDimension()
          Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in.
 Point getEndPoint()
          Returns the end point of the segment.
 Points getNormals()
          Returns the normal vectors that define the arc string.
 int getNumArcs()
          Returns the number of arcs of the string.
 CurveSegment.CurveSegmentType getSegmentType()
          Returns the type of 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

DefaultArcStringByBulge

public DefaultArcStringByBulge(Points controlPoints,
                               double[] bulges,
                               Points normals)
Parameters:
controlPoints - list of Points that describe the ArcStringByBulge
bulges -
normals -
Method Detail

getBulges

public double[] getBulges()
Description copied from interface: ArcStringByBulge
Returns the bulge values.

Specified by:
getBulges in interface ArcStringByBulge
Returns:
the bulge values

getNormals

public Points getNormals()
Description copied from interface: ArcStringByBulge
Returns the normal vectors that define the arc string.

Specified by:
getNormals in interface ArcStringByBulge
Returns:
the normal vectors

getNumArcs

public int getNumArcs()
Description copied from interface: ArcStringByBulge
Returns the number of arcs of the string.

Specified by:
getNumArcs in interface ArcStringByBulge
Returns:
the number of arcs

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

getControlPoints

public Points getControlPoints()
Description copied from interface: ArcStringByBulge
Returns the control points of the segment.

Specified by:
getControlPoints in interface ArcStringByBulge
Returns:
the control points of the segment

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.