Class PatchDirection


  • public class PatchDirection
    extends java.lang.Object
    Patch's U and V direction.
    • Constructor Summary

      Constructors 
      Constructor Description
      PatchDirection()  
    • Method Summary

      Modifier and Type Method Description
      boolean getClosed()
      Gets a value indicating whether this PatchDirection is a closed curve.
      int getControlPoints()
      Gets the count of control points in current direction.
      int getDivisions()
      Gets the number of divisions between adjacent control points.
      PatchDirectionType getType()
      Gets the patch's type.
      void setClosed​(boolean value)
      Sets a value indicating whether this PatchDirection is a closed curve.
      void setControlPoints​(int value)
      Sets the count of control points in current direction.
      void setDivisions​(int value)
      Sets the number of divisions between adjacent control points.
      void setType​(PatchDirectionType value)
      Sets the patch's type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PatchDirection

        public PatchDirection()
    • Method Detail

      • setType

        public void setType​(PatchDirectionType value)
        Sets the patch's type.
        Parameters:
        value - New value
      • getDivisions

        public int getDivisions()
        Gets the number of divisions between adjacent control points.
      • setDivisions

        public void setDivisions​(int value)
        Sets the number of divisions between adjacent control points.
        Parameters:
        value - New value
      • getControlPoints

        public int getControlPoints()
        Gets the count of control points in current direction.
      • setControlPoints

        public void setControlPoints​(int value)
        Sets the count of control points in current direction.
        Parameters:
        value - New value
      • getClosed

        public boolean getClosed()
        Gets a value indicating whether this PatchDirection is a closed curve.
      • setClosed

        public void setClosed​(boolean value)
        Sets a value indicating whether this PatchDirection is a closed curve.
        Parameters:
        value - New value