Interface GeomMeasureBase

    • Method Detail

      • getArea

        double getArea()
        Gets area of the selected faces or 2D domains.
        Returns:
        Area.
      • getBoundaryArea

        double getBoundaryArea()
        Gets surrounding boundary area of the selected 3D domains.
        Returns:
        Area.
      • getBoundaryVolume

        double getBoundaryVolume()
        Gets area or length of boundary corresponding to the selected entities.
        Returns:
        Area or length.
      • getBoundingBox

        double[] getBoundingBox()
        Returns bounding box of selection.
        Returns:
        Bounding box coordinates, ([xmin, xmax, ymin, ymax, ...] depending on dimension).
      • getEdgeAngle

        double getEdgeAngle()
        Gets the angle between the two adjacent edges by comparing the tangents at the common vertex. For a pair of straight edges, the angle is computed even if the edges are not adjacent and the direction of the edges is ignored so that the returned angle is at most 90°. If the angle is not defined for the selected edges, NaN is returned.
        Returns:
        Computed angle in the angular unit of the geometry or NaN.
      • getLength

        double getLength()
        Gets length of the selected edges or 1D domains.
        Returns:
        Length.
      • getNEntities

        int[] getNEntities()
        Gets number of entities of each dimension.
        Returns:
        Vector with number of entities of each dimension.
      • getNFiniteVoids

        int getNFiniteVoids()
        Gets number of finite void regions.
        Returns:
        The number of finite void regions.
      • getPerimeter

        double getPerimeter()
        Gets perimeter of the selected 2D domains or 3D boundaries.
        Returns:
        Length.
      • getVolume

        double getVolume()
        Gets volume, area, or length of the selected entities.
        Returns:
        Volume, area, or length.
      • getVtxCoord

        double[] getVtxCoord()
        Gets average coordinates for selected vertices.
        Returns:
        Average vertex coordinates.
      • getVtxDistance

        double[] getVtxDistance()
        Gets distance between two selected vertices.
        Returns:
        Vector of length sdim+1. The first component is the Euclidean distance. The remaining components are the distances in each coordinate direction.
      • selection

        AbstractSelection selection()
        Returns selection object for the measurement.
        Returns:
        Selection object.