Class QuadraticShell

  • Direct Known Subclasses:
    PlainQuadraticShell

    public class QuadraticShell
    extends Shell
    A collection of Quadratic surface patches, that together form a shell.
    • Constructor Detail

      • QuadraticShell

        public QuadraticShell​(long cPtr,
                              boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
        Overrides:
        delete in class Shell
      • isConvex

        public boolean isConvex()
        Description copied from class: GeometryData
        test if this geometry data is convex
        Overrides:
        isConvex in class Shell
        Returns:
        true if convex
      • size

        public long size()
        Description copied from class: Shell
        Get the number of surface patches in this shell.
        Overrides:
        size in class Shell
        Returns:
        the number of surface patches.
      • getFace

        public void getFace​(long idx,
                            QuadraticFace dst)
        Get a surface patch.
        Parameters:
        idx - [in] index of the patch.
        dst - [out] an existing face to write data to.
      • setMeshResolution

        public void setMeshResolution​(double resolution)
        Set the resolution used for discretization in the getTriMesh and faceTriMesh
        functions.

        The meaning of this parameter depends on the type of surface.

        Parameters:
        resolution - [in] the resolution parameter.