com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class Plane

    • Constructor Detail

      • Plane

        public Plane()
        Initializes a new instance of the Plane with default size 1x1.
      • Plane

        public Plane(double length,
                     double width)
        Initializes a new instance of the Plane.
        Parameters:
        length - Length of the plane.
        width - Width of the plane.
      • Plane

        public Plane(String name,
                     double length,
                     double width,
                     int lengthSegments,
                     int widthSegments)
        Initializes a new instance of the Plane.
        Parameters:
        name - Name.
        length - Length of the plane.
        width - Width of the plane.
        lengthSegments - Length segments.
        widthSegments - Width segments.
    • Method Detail

      • getLength

        public double getLength()
        Gets the length of the plane.
      • setLength

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

        public double getWidth()
        Gets the width of the plane.
      • setWidth

        public void setWidth(double value)
        Sets the width of the plane.
        Parameters:
        value - New value
      • getLengthSegments

        public int getLengthSegments()
        Gets the length segments.
      • setLengthSegments

        public void setLengthSegments(int value)
        Sets the length segments.
        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
      • getBoundingBox

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