|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.iso.coordinate.CurveSegmentImpl
public abstract class CurveSegmentImpl
CurveSegment defines a homogeneous segment of a Curve. Each CurveSegment shall be in, at most, one Curve.
Field Summary | |
---|---|
protected double |
endParam
The endParam indicates the parameter for the endPoint GenericCurve::endParam() : Distance GenericCurve: {parameterization(startParam()) = startPoint()}; {parameterization(endParam()) = endPoint()}; {length() = endParam() - startParam()} The start and end parameter of a Curve are always 0 and the arc length of the curve respectively. |
protected org.opengis.geometry.primitive.CurveInterpolation |
interpolation
The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. |
protected double |
startParam
The startParam indicates the parameter for the startPoint GenericCurve::startParam() : Distance GenericCurve: {parameterization(startParam()) = startPoint()}; {parameterization(endParam()) = endPoint()}; {length() = endParam() - startParam()} The start and end parameter of a Curve are always 0 and the arc length of the curve respectively. |
Constructor Summary | |
---|---|
CurveSegmentImpl(CurveSegmentImpl other)
|
|
CurveSegmentImpl(double startPar)
|
Method Summary | |
---|---|
CurveBoundaryImpl |
getBoundary()
|
CurveImpl |
getCurve()
|
double |
getEndConstructiveParam()
|
double |
getEndParam()
|
abstract org.opengis.geometry.DirectPosition |
getEndPoint()
|
abstract org.opengis.geometry.coordinate.Position |
getEndPosition()
|
abstract org.opengis.geometry.Envelope |
getEnvelope()
Added to Class requirements of CurveSegments Returns the envelope of the CurveSegment |
org.opengis.geometry.primitive.CurveInterpolation |
getInterpolation()
|
double |
getStartConstructiveParam()
|
double |
getStartParam()
|
abstract org.opengis.geometry.DirectPosition |
getStartPoint()
The reverse of a CurveSegment simply reverses the orientation of the parameterizations of the segment. |
abstract org.opengis.geometry.coordinate.Position |
getStartPosition()
|
double |
length()
GenericCurve: {parameterization(startParam()) = startPoint()}; {parameterization(endParam()) = endPoint()}; {length() = endParam() - startParam()} returns the length => {length() = this.endParam() - this.startParam()} Returns the complete length of the CurveSegment |
double |
length(double par1,
double par2)
|
double |
length(org.opengis.geometry.coordinate.Position point0,
org.opengis.geometry.coordinate.Position point1)
|
void |
setCurve(CurveImpl curve)
Sets the Curve the Curve Segment belongs to |
void |
setEndParam(double Value)
Set the parameter for the endPoint |
protected void |
setInterpolation(org.opengis.geometry.primitive.CurveInterpolation interpolation)
Sets the type of interpolation |
void |
setStartParam(double Value)
|
abstract void |
split(double distance)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.geometry.primitive.CurveSegment |
---|
getNumDerivativesAtEnd, getNumDerivativesAtStart, getNumDerivativesInterior, getSamplePoints, reverse |
Methods inherited from interface org.opengis.geometry.coordinate.GenericCurve |
---|
asLineString, forConstructiveParam, forParam, getParamForPoint, getTangent |
Field Detail |
---|
protected double startParam
protected double endParam
protected org.opengis.geometry.primitive.CurveInterpolation interpolation
Constructor Detail |
---|
public CurveSegmentImpl(double startPar)
startPar
- public CurveSegmentImpl(CurveSegmentImpl other)
other
- Method Detail |
---|
public CurveBoundaryImpl getBoundary()
getBoundary
in interface org.opengis.geometry.primitive.CurveSegment
public org.opengis.geometry.primitive.CurveInterpolation getInterpolation()
getInterpolation
in interface org.opengis.geometry.primitive.CurveSegment
protected void setInterpolation(org.opengis.geometry.primitive.CurveInterpolation interpolation)
interpolation
- public void setCurve(CurveImpl curve)
curve
- public CurveImpl getCurve()
getCurve
in interface org.opengis.geometry.primitive.CurveSegment
public abstract org.opengis.geometry.DirectPosition getStartPoint()
getStartPoint
in interface org.opengis.geometry.coordinate.GenericCurve
public abstract org.opengis.geometry.DirectPosition getEndPoint()
getEndPoint
in interface org.opengis.geometry.coordinate.GenericCurve
public abstract org.opengis.geometry.coordinate.Position getStartPosition()
public abstract org.opengis.geometry.coordinate.Position getEndPosition()
public double length()
public double getStartParam()
getStartParam
in interface org.opengis.geometry.coordinate.GenericCurve
public void setStartParam(double Value)
Value
- public double getEndParam()
getEndParam
in interface org.opengis.geometry.coordinate.GenericCurve
public void setEndParam(double Value)
Value
- public double getStartConstructiveParam()
getStartConstructiveParam
in interface org.opengis.geometry.coordinate.GenericCurve
public double getEndConstructiveParam()
getEndConstructiveParam
in interface org.opengis.geometry.coordinate.GenericCurve
public double length(org.opengis.geometry.coordinate.Position point0, org.opengis.geometry.coordinate.Position point1)
length
in interface org.opengis.geometry.coordinate.GenericCurve
public double length(double par1, double par2)
length
in interface org.opengis.geometry.coordinate.GenericCurve
public abstract org.opengis.geometry.Envelope getEnvelope()
public abstract void split(double distance)
distance
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |