|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.jts.spatialschema.geometry.GeometryImpl
org.geotools.geometry.jts.spatialschema.geometry.primitive.CurveImpl
public class CurveImpl
Simple implementation of the Curve interface that does not implement any of the (hard) math functions like intersection, etc. A curve consists of any number of CurveSegment objects (such as LineStrings) that must be connected end-to-end.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl |
---|
GeometryImpl.MathTransformFilter |
Constructor Summary | |
---|---|
CurveImpl()
Creates a new CurveImpl . |
|
CurveImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Creates a new CurveImpl . |
Method Summary | |
---|---|
org.opengis.geometry.coordinate.LineString |
asLineString(double maxSpacing,
double maxOffset)
Not fully implemented. |
protected com.vividsolutions.jts.geom.Geometry |
computeJTSPeer()
Subclasses must override this method to compute the JTS equivalent of this geometry. |
org.opengis.geometry.DirectPosition |
forConstructiveParam(double cp)
|
org.opengis.geometry.DirectPosition |
forParam(double s)
|
org.opengis.geometry.primitive.CurveBoundary |
getBoundary()
Returns the boundary of this geometry. |
java.util.Set |
getComplexes()
Not implemented (and probably never will be since traversal of this association would require a lot of extra work). |
org.opengis.geometry.complex.CompositeCurve |
getComposite()
Returns null. |
java.util.Set |
getContainedPrimitives()
Not implemented. |
java.util.Set |
getContainingPrimitives()
Not implemented (and probably never will be since traversal of this association would require a lot of extra work). |
double |
getEndConstructiveParam()
|
double |
getEndParam()
|
org.opengis.geometry.DirectPosition |
getEndPoint()
|
int |
getOrientation()
|
org.opengis.geometry.coordinate.ParamForPoint |
getParamForPoint(org.opengis.geometry.DirectPosition p)
Not implemented. |
org.opengis.geometry.primitive.Curve |
getPrimitive()
Returns "this". |
org.opengis.geometry.primitive.OrientableCurve[] |
getProxy()
Not implemented. |
java.util.List<org.opengis.geometry.primitive.CurveSegment> |
getSegments()
|
double |
getStartConstructiveParam()
|
double |
getStartParam()
|
org.opengis.geometry.DirectPosition |
getStartPoint()
|
double[] |
getTangent(double s)
|
double |
length(double cparam1,
double cparam2)
Not implemented. |
double |
length(org.opengis.geometry.coordinate.Position point1,
org.opengis.geometry.coordinate.Position point2)
Not implemented. |
Methods inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl |
---|
clone, contains, contains, difference, distance, equals, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getJTSGeometry, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, intersection, intersects, invalidateCachedJTSPeer, isCycle, isMutable, isSimple, listAsSet, setJTSPeer, setParent, 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.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 |
---|
public CurveImpl()
CurveImpl
.
public CurveImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
CurveImpl
.
crs
- Method Detail |
---|
public org.opengis.geometry.primitive.CurveBoundary getBoundary()
GeometryImpl
getBoundary
in interface org.opengis.geometry.Geometry
getBoundary
in interface org.opengis.geometry.primitive.OrientableCurve
getBoundary
in interface org.opengis.geometry.primitive.Primitive
getBoundary
in class GeometryImpl
public final java.util.List<org.opengis.geometry.primitive.CurveSegment> getSegments()
getSegments
in interface org.opengis.geometry.primitive.Curve
Curve.getSegments()
public final org.opengis.geometry.DirectPosition getStartPoint()
getStartPoint
in interface org.opengis.geometry.coordinate.GenericCurve
GenericCurve.getStartPoint()
public final org.opengis.geometry.DirectPosition getEndPoint()
getEndPoint
in interface org.opengis.geometry.coordinate.GenericCurve
GenericCurve.getEndPoint()
public double[] getTangent(double s)
getTangent
in interface org.opengis.geometry.coordinate.GenericCurve
GenericCurve.getTangent(double)
public final double getStartParam()
getStartParam
in interface org.opengis.geometry.coordinate.GenericCurve
public final double getEndParam()
getEndParam
in interface org.opengis.geometry.coordinate.GenericCurve
public final double getStartConstructiveParam()
getStartConstructiveParam
in interface org.opengis.geometry.coordinate.GenericCurve
public final double getEndConstructiveParam()
getEndConstructiveParam
in interface org.opengis.geometry.coordinate.GenericCurve
public final org.opengis.geometry.DirectPosition forConstructiveParam(double cp)
forConstructiveParam
in interface org.opengis.geometry.coordinate.GenericCurve
public final org.opengis.geometry.DirectPosition forParam(double s)
forParam
in interface org.opengis.geometry.coordinate.GenericCurve
public org.opengis.geometry.coordinate.ParamForPoint getParamForPoint(org.opengis.geometry.DirectPosition p)
getParamForPoint
in interface org.opengis.geometry.coordinate.GenericCurve
public double length(org.opengis.geometry.coordinate.Position point1, org.opengis.geometry.coordinate.Position point2)
length
in interface org.opengis.geometry.coordinate.GenericCurve
public double length(double cparam1, double cparam2)
length
in interface org.opengis.geometry.coordinate.GenericCurve
public org.opengis.geometry.coordinate.LineString asLineString(double maxSpacing, double maxOffset)
asLineString
in interface org.opengis.geometry.coordinate.GenericCurve
public org.opengis.geometry.complex.CompositeCurve getComposite()
getComposite
in interface org.opengis.geometry.primitive.OrientableCurve
getComposite
in interface org.opengis.geometry.primitive.Primitive
public int getOrientation()
getOrientation
in interface org.opengis.geometry.primitive.OrientablePrimitive
public org.opengis.geometry.primitive.Curve getPrimitive()
getPrimitive
in interface org.opengis.geometry.primitive.OrientableCurve
getPrimitive
in interface org.opengis.geometry.primitive.OrientablePrimitive
public java.util.Set getContainedPrimitives()
getContainedPrimitives
in interface org.opengis.geometry.primitive.Primitive
public java.util.Set getContainingPrimitives()
getContainingPrimitives
in interface org.opengis.geometry.primitive.Primitive
public java.util.Set getComplexes()
getComplexes
in interface org.opengis.geometry.primitive.Primitive
public org.opengis.geometry.primitive.OrientableCurve[] getProxy()
getProxy
in interface org.opengis.geometry.primitive.Curve
getProxy
in interface org.opengis.geometry.primitive.Primitive
protected com.vividsolutions.jts.geom.Geometry computeJTSPeer()
GeometryImpl
computeJTSPeer
in class GeometryImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |