public final class ExtrudedGeometry extends Geometry implements AutoCloseable
GeometryFactory#createExtrudedGeometry
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
Geometry |
getBaseGeometry()
Returns the base geometry.
|
double |
getMaxHeight()
Returns the upper/top boundary of the 3D volume.
|
double |
getMinHeight()
Returns the lower/bottom boundary of the 3D volume.
|
static boolean |
isBaseGeometrySupported(Geometry geometry)
Tests whether the given geometry can be used as a base geometry for an
ExtrudedGeometry . |
getBounds, getReference
public void close()
close
in interface AutoCloseable
close
in class Geometry
@NotNull public Geometry getBaseGeometry()
public double getMinHeight()
public double getMaxHeight()
public static boolean isBaseGeometrySupported(@Nullable Geometry geometry)
ExtrudedGeometry
.
Currently, all Curve
and Surface
geometries are supported, as well as MultiGeometry
instances that consist solely of such geometries.
geometry
- the geometry to check.ExtrudedGeometry
.