public static class Add3DGeometryAttributesPlugIn.ZBoundedSubLineString
extends java.lang.Object
Constructor and Description |
---|
Add3DGeometryAttributesPlugIn.ZBoundedSubLineString(double startZ,
double endZ,
double length2d) |
Modifier and Type | Method and Description |
---|---|
double |
getLength2d() |
double |
getLength3d()
Return the length3d of this substring if both start and end points
have a z, length2d elseif.
|
double |
getSlope()
Return the signed slope of the sublinestring (dz/length2d) or NaN if
it contains only one or z value.
|
double |
getWeightedZ()
Return :
mean z * length2d if both ends of the linestring have a z
z * length2d if only one end has a z
NaN if substring end points don't have z values
|
public Add3DGeometryAttributesPlugIn.ZBoundedSubLineString(double startZ, double endZ, double length2d)
public double getLength2d()
public double getLength3d()
public double getWeightedZ()
public double getSlope()