Package com.aspose.threed
Class RectangleShape
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.SceneObject
-
- com.aspose.threed.Entity
-
- com.aspose.threed.Profile
-
- com.aspose.threed.ParameterizedProfile
-
- com.aspose.threed.RectangleShape
-
- All Implemented Interfaces:
INamedObject
- Direct Known Subclasses:
HollowRectangleShape
public class RectangleShape extends ParameterizedProfile
IFC compatible rectangular shape with rounding corners.
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Constructor Summary
Constructors Constructor Description RectangleShape()
Constructor ofRectangleShape
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector2
getExtent()
Gets the extent in x and y dimension.double
getRoundingRadius()
Gets the radius of the circular arcs of all four corners, measured in degrees.double
getXDim()
Gets the extent of the rectangle in the direction of x-axis Default value is 2.0double
getYDim()
Gets the extent of the rectangle in the direction of y-axis Default value is 2.0void
setRoundingRadius(double value)
Sets the radius of the circular arcs of all four corners, measured in degrees.void
setXDim(double value)
Sets the extent of the rectangle in the direction of x-axis Default value is 2.0void
setYDim(double value)
Sets the extent of the rectangle in the direction of y-axis Default value is 2.0-
Methods inherited from class com.aspose.threed.Profile
getEntityRendererKey
-
Methods inherited from class com.aspose.threed.Entity
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
-
Methods inherited from class com.aspose.threed.SceneObject
getScene
-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Constructor Detail
-
RectangleShape
public RectangleShape()
Constructor ofRectangleShape
-
-
Method Detail
-
getRoundingRadius
public double getRoundingRadius()
Gets the radius of the circular arcs of all four corners, measured in degrees. Default value is 0.0
-
setRoundingRadius
public void setRoundingRadius(double value)
Sets the radius of the circular arcs of all four corners, measured in degrees. Default value is 0.0- Parameters:
value
- New value
-
getXDim
public double getXDim()
Gets the extent of the rectangle in the direction of x-axis Default value is 2.0
-
setXDim
public void setXDim(double value)
Sets the extent of the rectangle in the direction of x-axis Default value is 2.0- Parameters:
value
- New value
-
getYDim
public double getYDim()
Gets the extent of the rectangle in the direction of y-axis Default value is 2.0
-
setYDim
public void setYDim(double value)
Sets the extent of the rectangle in the direction of y-axis Default value is 2.0- Parameters:
value
- New value
-
getExtent
public Vector2 getExtent()
Gets the extent in x and y dimension.- Specified by:
getExtent
in classParameterizedProfile
-
-