org.geotools.geometry.iso.primitive
Class OrientableCurveProxy

java.lang.Object
  extended by org.geotools.geometry.iso.primitive.OrientablePrimitiveProxy
      extended by org.geotools.geometry.iso.primitive.OrientableCurveProxy
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.Geometry, org.opengis.geometry.primitive.OrientableCurve, org.opengis.geometry.primitive.OrientablePrimitive, org.opengis.geometry.primitive.Primitive, org.opengis.geometry.TransfiniteSet
Direct Known Subclasses:
CurveProxy

public class OrientableCurveProxy
extends OrientablePrimitiveProxy
implements org.opengis.geometry.primitive.OrientableCurve

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 OrientableCurveProxy(CurveImpl curve)
           
 
Method Summary
 LineStringImpl asLineString()
           
 LineStringImpl asLineString(double spacing, double offset)
           
 DirectPositionImpl constrParam(double cp)
           
 double endConstrParam()
           
 org.opengis.geometry.primitive.CurveBoundary getBoundary()
           
 org.opengis.geometry.complex.CompositeCurve getComposite()
           
 double getEndParam()
           
 org.opengis.geometry.DirectPosition getEndPoint()
           
 org.opengis.geometry.primitive.Curve getPrimitive()
           
 double getStartParam()
           
 org.opengis.geometry.DirectPosition getStartPoint()
           
 double[] getTangent(double distance)
           
 double length()
           
 double length(double par1, double par2)
           
 double length(PositionImpl point1, PositionImpl point2)
           
 DirectPositionImpl param(double distance)
           
 java.lang.Object[] paramForPoint(DirectPositionImpl p)
           
 double startConstrParam()
           
 
Methods inherited from class org.geotools.geometry.iso.primitive.OrientablePrimitiveProxy
clone, contains, contains, difference, distance, equals, getBuffer, getCentroid, getClosure, getComplexes, getContainedPrimitives, getContainingPrimitives, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getMaximalComplex, getMbRegion, getOrientation, getPrecision, getProxy, getRepresentativePoint, intersection, intersects, isCycle, isMutable, isSimple, symmetricDifference, toImmutable, transform, transform, union
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengis.geometry.primitive.OrientablePrimitive
getOrientation
 
Methods inherited from interface org.opengis.geometry.primitive.Primitive
getComplexes, getContainedPrimitives, getContainingPrimitives, getProxy
 
Methods inherited from interface org.opengis.geometry.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 org.opengis.geometry.TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Constructor Detail

OrientableCurveProxy

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

getPrimitive

public org.opengis.geometry.primitive.Curve getPrimitive()
Specified by:
getPrimitive in interface org.opengis.geometry.primitive.OrientableCurve
Specified by:
getPrimitive in interface org.opengis.geometry.primitive.OrientablePrimitive
Overrides:
getPrimitive in class OrientablePrimitiveProxy

getBoundary

public org.opengis.geometry.primitive.CurveBoundary getBoundary()
Specified by:
getBoundary in interface org.opengis.geometry.Geometry
Specified by:
getBoundary in interface org.opengis.geometry.primitive.OrientableCurve
Specified by:
getBoundary in interface org.opengis.geometry.primitive.Primitive
Overrides:
getBoundary in class OrientablePrimitiveProxy

getStartPoint

public org.opengis.geometry.DirectPosition getStartPoint()
Returns:

getEndPoint

public org.opengis.geometry.DirectPosition getEndPoint()
Returns:

getTangent

public double[] getTangent(double distance)
Parameters:
distance -
Returns:

getStartParam

public double getStartParam()

getEndParam

public double getEndParam()

paramForPoint

public java.lang.Object[] paramForPoint(DirectPositionImpl p)

param

public DirectPositionImpl param(double distance)

startConstrParam

public double startConstrParam()

endConstrParam

public double endConstrParam()

constrParam

public DirectPositionImpl constrParam(double cp)

length

public double length(PositionImpl point1,
                     PositionImpl point2)

length

public double length(double par1,
                     double par2)

length

public double length()

asLineString

public LineStringImpl asLineString(double spacing,
                                   double offset)

asLineString

public LineStringImpl asLineString()

getComposite

public org.opengis.geometry.complex.CompositeCurve getComposite()
Specified by:
getComposite in interface org.opengis.geometry.primitive.OrientableCurve
Specified by:
getComposite in interface org.opengis.geometry.primitive.Primitive
Overrides:
getComposite in class OrientablePrimitiveProxy


Copyright © 1996-2010 Geotools. All Rights Reserved.