org.geotools.geometry.iso.primitive
Class CurveProxy
java.lang.Object
org.geotools.geometry.iso.primitive.OrientablePrimitiveProxy
org.geotools.geometry.iso.primitive.OrientableCurveProxy
org.geotools.geometry.iso.primitive.CurveProxy
- All Implemented Interfaces:
- java.io.Serializable, org.opengis.geometry.coordinate.GenericCurve, org.opengis.geometry.Geometry, org.opengis.geometry.primitive.Curve, org.opengis.geometry.primitive.OrientableCurve, org.opengis.geometry.primitive.OrientablePrimitive, org.opengis.geometry.primitive.Primitive, org.opengis.geometry.TransfiniteSet
public class CurveProxy
- extends OrientableCurveProxy
- implements org.opengis.geometry.primitive.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
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, 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.OrientableCurve |
getBoundary, getComposite, getPrimitive |
Methods inherited from interface org.opengis.geometry.primitive.OrientablePrimitive |
getOrientation |
Methods inherited from interface org.opengis.geometry.primitive.Primitive |
getComplexes, getContainedPrimitives, getContainingPrimitives |
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 |
CurveProxy
protected CurveProxy(CurveImpl curve)
- Parameters:
curve
-
getProxy
public org.opengis.geometry.primitive.OrientableCurve[] getProxy()
- Specified by:
getProxy
in interface org.opengis.geometry.primitive.Curve
- Specified by:
getProxy
in interface org.opengis.geometry.primitive.Primitive
- Overrides:
getProxy
in class OrientablePrimitiveProxy
getStartPoint
public org.opengis.geometry.DirectPosition getStartPoint()
- Specified by:
getStartPoint
in interface org.opengis.geometry.coordinate.GenericCurve
- Overrides:
getStartPoint
in class OrientableCurveProxy
getEndPoint
public org.opengis.geometry.DirectPosition getEndPoint()
- Specified by:
getEndPoint
in interface org.opengis.geometry.coordinate.GenericCurve
- Overrides:
getEndPoint
in class OrientableCurveProxy
getTangent
public double[] getTangent(double distance)
- Specified by:
getTangent
in interface org.opengis.geometry.coordinate.GenericCurve
- Overrides:
getTangent
in class OrientableCurveProxy
getStartParam
public double getStartParam()
- Specified by:
getStartParam
in interface org.opengis.geometry.coordinate.GenericCurve
- Overrides:
getStartParam
in class OrientableCurveProxy
getEndParam
public double getEndParam()
- Specified by:
getEndParam
in interface org.opengis.geometry.coordinate.GenericCurve
- Overrides:
getEndParam
in class OrientableCurveProxy
getParamForPoint
public org.opengis.geometry.coordinate.ParamForPoint getParamForPoint(org.opengis.geometry.DirectPosition p)
- Specified by:
getParamForPoint
in interface org.opengis.geometry.coordinate.GenericCurve
forParam
public DirectPositionImpl forParam(double distance)
- Specified by:
forParam
in interface org.opengis.geometry.coordinate.GenericCurve
getStartConstructiveParam
public double getStartConstructiveParam()
- Specified by:
getStartConstructiveParam
in interface org.opengis.geometry.coordinate.GenericCurve
getEndConstructiveParam
public double getEndConstructiveParam()
- Specified by:
getEndConstructiveParam
in interface org.opengis.geometry.coordinate.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 org.opengis.geometry.coordinate.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 org.opengis.geometry.coordinate.GenericCurve
- Overrides:
asLineString
in class OrientableCurveProxy
getSegments
public java.util.List<org.opengis.geometry.primitive.CurveSegment> getSegments()
- Specified by:
getSegments
in interface org.opengis.geometry.primitive.Curve
forConstructiveParam
public org.opengis.geometry.DirectPosition forConstructiveParam(double cp)
- Specified by:
forConstructiveParam
in interface org.opengis.geometry.coordinate.GenericCurve
length
public double length(org.opengis.geometry.coordinate.Position point1,
org.opengis.geometry.coordinate.Position point2)
- Specified by:
length
in interface org.opengis.geometry.coordinate.GenericCurve
Copyright © 1996-2010 Geotools. All Rights Reserved.