Class ExtrudedGeometry

java.lang.Object
com.luciad.geometries.Geometry
com.luciad.geometries.ExtrudedGeometry
All Implemented Interfaces:
AutoCloseable

public final class ExtrudedGeometry extends Geometry implements AutoCloseable
Represents an extruded geometry.
See Also:
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Geometry
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Geometry
    • getBaseGeometry

      @NotNull public Geometry getBaseGeometry()
      Returns the base geometry.
      Returns:
      the base geometry.
    • getMinHeight

      public double getMinHeight()
      Returns the lower/bottom boundary of the 3D volume.
      Returns:
      the lower/bottom boundary of the 3D volume.
    • getMaxHeight

      public double getMaxHeight()
      Returns the upper/top boundary of the 3D volume.
      Returns:
      the upper/top boundary of the 3D volume.
    • isBaseGeometrySupported

      public static boolean isBaseGeometrySupported(@Nullable Geometry geometry)
      Tests whether the given geometry can be used as a base geometry for an ExtrudedGeometry.

      Currently, all Curve and Surface geometries are supported, as well as MultiGeometry instances that consist solely of such geometries.

      Parameters:
      geometry - the geometry to check.
      Returns:
      true if the given geometry can be used as a base for an ExtrudedGeometry.