Class PlainQuadraticShell


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

      • PlainQuadraticShell

        public PlainQuadraticShell​(long cPtr,
                                   boolean cMemoryOwn)
      • PlainQuadraticShell

        public PlainQuadraticShell()
        Constructor.
      • PlainQuadraticShell

        public PlainQuadraticShell​(PlainQuadraticShell shell)
        Copy constructor.
        Parameters:
        shell - [in] other shell to copy.
      • PlainQuadraticShell

        public PlainQuadraticShell​(QuadraticShell shell)
        Copy constructor.
        Parameters:
        shell - [in] other shell to copy.
    • Method Detail

      • isConvex

        public boolean isConvex()
        Description copied from class: GeometryData
        test if this geometry data is convex
        Overrides:
        isConvex in class QuadraticShell
        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 QuadraticShell
        Returns:
        the number of surface patches.
      • getFace

        public void getFace​(long idx,
                            QuadraticFace dst)
        , QuadraticFace&) const
        Overrides:
        getFace in class QuadraticShell
        Parameters:
        idx - [in] index of the patch.
        dst - [out] an existing face to write data to.
      • getFace

        public void getFace​(long idx,
                            GenericFace face)
        , GenericFace&) const
        Overrides:
        getFace in class Shell
        Parameters:
        idx - [in] index of patch.
        face - [out] existing face to copy data into.
      • add

        public void add​(QuadraticFacePtr face)
        Add Quadratic face.
        Parameters:
        face - [in] quadratic face to add.
      • add

        public void add​(PlainQuadraticShell shell)
        Add faces from another shell.
        Parameters:
        shell - [in] other shell.
      • add

        public void add​(QuadraticShell shell)
        Add faces from another shell.
        Parameters:
        shell - [in] other shell.
      • clear

        public void clear()
        Remove all faces from the shell.