com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class Box

    • Constructor Detail

      • Box

        public Box()
        Initializes a new instance of the Box class.
      • Box

        public Box(double length,
                   double width,
                   double height)
        Initializes a new instance of the Box class.
        Parameters:
        length - Length of the box.
        width - Width of the box.
        height - Height of the box.
      • Box

        public Box(String name,
                   double length,
                   double width,
                   double height,
                   int lengthSegments,
                   int widthSegments,
                   int heightSegments)
        Initializes a new instance of the Box class.
        Parameters:
        name - Name of the box.
        length - Length of the box.
        width - Width of the box.
        height - Height of the box.
        lengthSegments - Length segments.
        widthSegments - Width segments.
        heightSegments - Height segments.
    • Method Detail

      • getLength

        public double getLength()
        Gets the length of the box
      • setLength

        public void setLength(double value)
        Sets the length of the box
        Parameters:
        value - New value
      • getWidth

        public double getWidth()
        Gets the width of the box
      • setWidth

        public void setWidth(double value)
        Sets the width of the box
        Parameters:
        value - New value
      • getHeight

        public double getHeight()
        Gets the height of the box
      • setHeight

        public void setHeight(double value)
        Sets the height of the box
        Parameters:
        value - New value
      • getBoundingBox

        public BoundingBox getBoundingBox()
        Gets the bounding box of current entity in its object space coordinate system.
        Overrides:
        getBoundingBox in class Entity