Class ImplicitSurface


  • public class ImplicitSurface
    extends java.lang.Object
    Interface for implicit surfaces. An implicit surface is given by an
    expression of the form F(\mathbf{x})=0, \mathbf{x} \in \mathbb{R}^3.
    • Constructor Detail

      • ImplicitSurface

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

      • delete

        public void delete()
      • setDiscretizationResolution

        public void setDiscretizationResolution​(double resolution)
      • SurfaceEqual

        public boolean SurfaceEqual​(Surface surface,
                                    double threshold)
      • call

        public double call​(Vector3D in)
      • insideTrimmingRegion

        public boolean insideTrimmingRegion​(Vector3D P)
        Check if point, P, on surface lies inside the trimming region.
        Parameters:
        P - [in] the point to check.
        Returns:
        true if the points lies inside the trimming region.
      • reuseTrimmingRegions

        public void reuseTrimmingRegions​(ImplicitSurfacePtr surface)
        Let other surface reuse this surfaces trimming regions,
        if there are identical region definitions.

        This allows for some implementations to save a small amount of memory.
        Parameters:
        surface - [in/out] the other surface.