Interface ElementTetrahedron

All Superinterfaces:
Element, InteractionSource
All Known Implementing Classes:
ElementTetrahedron

public interface ElementTetrahedron extends Element

Title: ElementTetrahedron

Description: A 3D Tetrahedron. The tetrahedron can be incomplete or double, if height!=sizeZ.

Version:
December 2008
Author:
Francisco Esquembre
  • Method Details

    • setTruncationHeight

      void setTruncationHeight(double height)
      Sets the truncation height for this tetrahedron. The standard height of a tetrahedron is set using setSizeZ(). This method helps create truncated tetrahedrons by setting the truncation height at a value smaller than the Z size. Negative, zero, or Double.NaN values set the tetrahedron to a standard (complete) one. Values greater than the Z size are ignored.
      Parameters:
      height - double
    • getTruncationHeight

      double getTruncationHeight()
      Gets the truncation height for this tetrahedron.
      Returns:
      double The truncation height (Double.NaN if the tetrahedron is complete.)
      See Also:
      • #setTruncationHeight()
    • setClosedBottom

      void setClosedBottom(boolean close)
      Whether the tetrahedron should be closed at its bottom.
      Parameters:
      close - the desired value
    • isClosedBottom

      boolean isClosedBottom()
      Whether the tetrahedron is closed at its bottom.
      Returns:
      the value
    • setClosedTop

      void setClosedTop(boolean close)
      Whether an incomplete tetrahedron element should be closed at its top.
      Parameters:
      closed - the desired value
    • isClosedTop

      boolean isClosedTop()
      Whether the tetrahedron is closed at its top.
      Returns:
      the value