com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class RectangularTorus

  • All Implemented Interfaces:
    IMeshConvertible


    public class RectangularTorus
    extends Primitive
    Parameterized rectangular torus.
    • Constructor Detail

      • RectangularTorus

        public RectangularTorus(java.lang.String name)
        Constructor of RectangularTorus
    • Method Detail

      • getInnerRadius

        public double getInnerRadius()
        The inner radius of the rectangular torus Default value is 17
      • setInnerRadius

        public void setInnerRadius(double value)
        The inner radius of the rectangular torus Default value is 17
        Parameters:
        value - New value
      • getOuterRadius

        public double getOuterRadius()
        The outer radius of the rectangular torus Default value is 20
      • setOuterRadius

        public void setOuterRadius(double value)
        The outer radius of the rectangular torus Default value is 20
        Parameters:
        value - New value
      • getHeight

        public double getHeight()
        The height of the rectangular torus. Default value is 20
      • setHeight

        public void setHeight(double value)
        The height of the rectangular torus. Default value is 20
        Parameters:
        value - New value
      • getArc

        public double getArc()
        The total angle of the arc, measured in radian. Default value is PI
      • setArc

        public void setArc(double value)
        The total angle of the arc, measured in radian. Default value is PI
        Parameters:
        value - New value
      • getAngleStart

        public double getAngleStart()
        The start angle of the arc, measured in radian. Default value is 0
      • setAngleStart

        public void setAngleStart(double value)
        The start angle of the arc, measured in radian. Default value is 0
        Parameters:
        value - New value
      • getRadialSegments

        public int getRadialSegments()
        The radial segments, default value is 10
      • setRadialSegments

        public void setRadialSegments(int value)
        The radial segments, default value is 10
        Parameters:
        value - New value
      • equals

        public boolean equals(java.lang.Object obj)
        Check if two rectangular torus equal
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The object to check equality.
        Returns:
        True if all properties are identically equal.
      • hashCode

        public int hashCode()
        Gets the hash code of current primitive instance
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        The hash code of the RectangularTorus