com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class Dish

    • Constructor Detail

      • Dish

        public Dish()
        Create a new dish instance with default radius(10) and default height(5)
      • Dish

        public Dish(double radius,
                    double height)
        Create a new dish instance with specified radius and height
        Parameters:
        radius - The radius of the dish
        height - The height of the dish
      • Dish

        public Dish(java.lang.String name,
                    double radius,
                    double height,
                    int widthSegments,
                    int heightSegments)
        Create a new dish instance with specified radius and height
        Parameters:
        name - The name of the dish
        radius - The radius of the dish
        height - The height of the dish
        widthSegments - The width segment of the dish
        heightSegments - The height segment of the dish
    • Method Detail

      • getHeight

        public double getHeight()
        Height of the dish
      • setHeight

        public void setHeight(double value)
        Height of the dish
        Parameters:
        value - New value
      • getRadius

        public double getRadius()
        Radius of the dish
      • setRadius

        public void setRadius(double value)
        Radius of the dish
        Parameters:
        value - New value
      • getWidthSegments

        public int getWidthSegments()
        Gets the width segments
      • setWidthSegments

        public void setWidthSegments(int value)
        Sets the width segments
        Parameters:
        value - New value
      • getHeightSegments

        public int getHeightSegments()
        Gets the height segments
      • setHeightSegments

        public void setHeightSegments(int value)
        Sets the height segments
        Parameters:
        value - New value
      • equals

        public boolean equals(java.lang.Object obj)
        Check if two dishes 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 Dish