Package com.aspose.threed
Class CircleShape
- java.lang.Object
-
- All Implemented Interfaces:
INamedObject
- Direct Known Subclasses:
HollowCircleShape
public class CircleShape extends ParameterizedProfile
IFC compatible circle profile, which can be used to construct a mesh throughLinearExtrusion
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Constructor Summary
Constructors Constructor Description CircleShape()
Construct aCircleShape
profile with default radius(5).CircleShape(double radius)
Construct aCircleShape
profile with specified radius.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector2
getExtent()
Gets the extent in x and y dimension.double
getRadius()
Gets the radius of the circle.void
setRadius(double value)
Sets the radius of the circle.-
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
-
CircleShape
public CircleShape()
Construct aCircleShape
profile with default radius(5).
-
CircleShape
public CircleShape(double radius)
Construct aCircleShape
profile with specified radius.- Parameters:
radius
-
-
-
Method Detail
-
getRadius
public double getRadius()
Gets the radius of the circle.
-
setRadius
public void setRadius(double value)
Sets the radius of the circle.- Parameters:
value
- New value
-
getExtent
public Vector2 getExtent()
Gets the extent in x and y dimension.- Specified by:
getExtent
in classParameterizedProfile
-
-