org.geotools.geometry.iso.primitive
Class CurveProxy

Object
  extended by OrientablePrimitiveProxy
      extended by OrientableCurveProxy
          extended by CurveProxy
All Implemented Interfaces:
Serializable, GenericCurve, Geometry, Curve, OrientableCurve, OrientablePrimitive, Primitive, TransfiniteSet

public class CurveProxy
extends OrientableCurveProxy
implements Curve

Author:
roehrig TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Constructor Summary
protected CurveProxy(CurveImpl curve)
           
 
Method Summary
 LineStringImpl asLineString()
           
 LineStringImpl asLineString(double spacing, double offset)
           
 DirectPositionImpl constrParam(double cp)
           
 DirectPosition forConstructiveParam(double cp)
           
 DirectPositionImpl forParam(double distance)
           
 double getEndConstructiveParam()
           
 double getEndParam()
           
 DirectPosition getEndPoint()
           
 ParamForPoint getParamForPoint(DirectPosition p)
           
 OrientableCurve[] getProxy()
           
 List<CurveSegment> getSegments()
           
 double getStartConstructiveParam()
           
 double getStartParam()
           
 DirectPosition getStartPoint()
           
 double[] getTangent(double distance)
           
 double length()
           
 double length(double par1, double par2)
           
 double length(PositionImpl point1, PositionImpl point2)
           
 double length(Position point1, Position point2)
           
 
Methods inherited from class OrientableCurveProxy
endConstrParam, getBoundary, getComposite, getPrimitive, param, paramForPoint, startConstrParam
 
Methods inherited from class OrientablePrimitiveProxy
clone, contains, contains, difference, distance, equals, getBuffer, getCentroid, getClosure, getComplexes, getContainedPrimitives, getContainingPrimitives, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getMaximalComplex, getMbRegion, getOrientation, getPrecision, getRepresentativePoint, intersection, intersects, isCycle, isMutable, isSimple, symmetricDifference, toImmutable, transform, transform, union
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface OrientableCurve
getBoundary, getComposite, getPrimitive
 
Methods inherited from interface OrientablePrimitive
getOrientation
 
Methods inherited from interface Primitive
getComplexes, getContainedPrimitives, getContainingPrimitives
 
Methods inherited from interface Geometry
clone, distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform
 
Methods inherited from interface TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Constructor Detail

CurveProxy

protected CurveProxy(CurveImpl curve)
Parameters:
curve -
Method Detail

getProxy

public OrientableCurve[] getProxy()
Specified by:
getProxy in interface Curve
Specified by:
getProxy in interface Primitive
Overrides:
getProxy in class OrientablePrimitiveProxy

getStartPoint

public DirectPosition getStartPoint()
Specified by:
getStartPoint in interface GenericCurve
Overrides:
getStartPoint in class OrientableCurveProxy

getEndPoint

public DirectPosition getEndPoint()
Specified by:
getEndPoint in interface GenericCurve
Overrides:
getEndPoint in class OrientableCurveProxy

getTangent

public double[] getTangent(double distance)
Specified by:
getTangent in interface GenericCurve
Overrides:
getTangent in class OrientableCurveProxy

getStartParam

public double getStartParam()
Specified by:
getStartParam in interface GenericCurve
Overrides:
getStartParam in class OrientableCurveProxy

getEndParam

public double getEndParam()
Specified by:
getEndParam in interface GenericCurve
Overrides:
getEndParam in class OrientableCurveProxy

getParamForPoint

public ParamForPoint getParamForPoint(DirectPosition p)
Specified by:
getParamForPoint in interface GenericCurve

forParam

public DirectPositionImpl forParam(double distance)
Specified by:
forParam in interface GenericCurve

getStartConstructiveParam

public double getStartConstructiveParam()
Specified by:
getStartConstructiveParam in interface GenericCurve

getEndConstructiveParam

public double getEndConstructiveParam()
Specified by:
getEndConstructiveParam in interface GenericCurve

constrParam

public DirectPositionImpl constrParam(double cp)
Overrides:
constrParam in class OrientableCurveProxy

length

public double length(PositionImpl point1,
                     PositionImpl point2)
Overrides:
length in class OrientableCurveProxy

length

public double length(double par1,
                     double par2)
Specified by:
length in interface GenericCurve
Overrides:
length in class OrientableCurveProxy

length

public double length()
Overrides:
length in class OrientableCurveProxy

asLineString

public LineStringImpl asLineString()
Overrides:
asLineString in class OrientableCurveProxy

asLineString

public LineStringImpl asLineString(double spacing,
                                   double offset)
Specified by:
asLineString in interface GenericCurve
Overrides:
asLineString in class OrientableCurveProxy

getSegments

public List<CurveSegment> getSegments()
Specified by:
getSegments in interface Curve

forConstructiveParam

public DirectPosition forConstructiveParam(double cp)
Specified by:
forConstructiveParam in interface GenericCurve

length

public double length(Position point1,
                     Position point2)
Specified by:
length in interface GenericCurve


Copyright © 1996-2009 Geotools. All Rights Reserved.