Class G2DClippingManager

  • All Implemented Interfaces:
    ClippingManager

    public class G2DClippingManager
    extends java.lang.Object
    implements ClippingManager
    Author:
    Calixte DENIZET
    • Constructor Detail

      • G2DClippingManager

        public G2DClippingManager​(G2DDrawingTools drawingTools)
        Default constructor.
        Parameters:
        drawingTools - used drawing tools.
    • Method Detail

      • getClippingPlanes

        public java.util.List<ClippingPlane> getClippingPlanes()
      • getClippingPlaneNumber

        public int getClippingPlaneNumber()
        Description copied from interface: ClippingManager
        Return the number of available clipping plane. At least 6 clipping plane are supported.
        Specified by:
        getClippingPlaneNumber in interface ClippingManager
        Returns:
        the number of available clipping plane.
      • getClippingPlane

        public ClippingPlane getClippingPlane​(int i)
        Description copied from interface: ClippingManager
        Return the i-th clipping plane. null is returned if i is not a valid index.
        Specified by:
        getClippingPlane in interface ClippingManager
        Parameters:
        i - the given index.
        Returns:
        the i-th clipping plane.