Package com.aspose.threed
Class RevolvedAreaSolid
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.SceneObject
-
- com.aspose.threed.Entity
-
- com.aspose.threed.RevolvedAreaSolid
-
- All Implemented Interfaces:
IMeshConvertible
public class RevolvedAreaSolid extends Entity implements IMeshConvertible
This class represents a solid model by revolving a cross section provided by a profile about an axis.
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Constructor Summary
Constructors Constructor Description RevolvedAreaSolid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAngleEnd()
Gets the ending angle of the revolving procedure, measured in radian, default value is pi.double
getAngleStart()
Gets the starting angle of the revolving procedure, measured in radian, default value is 0.Vector3
getAxis()
Gets the axis direction, default value is (0, 1, 0).Vector3
getOrigin()
Gets the origin point of the revolving, default value is (0, 0, 0).Profile
getShape()
Gets the base profile used to revolve.void
setAngleEnd(double value)
Sets the ending angle of the revolving procedure, measured in radian, default value is pi.void
setAngleStart(double value)
Sets the starting angle of the revolving procedure, measured in radian, default value is 0.void
setAxis(Vector3 value)
Sets the axis direction, default value is (0, 1, 0).void
setOrigin(Vector3 value)
Sets the origin point of the revolving, default value is (0, 0, 0).void
setShape(Profile value)
Sets the base profile used to revolve.Mesh
toMesh()
Convert theRevolvedAreaSolid
into a mesh.-
Methods inherited from class com.aspose.threed.Entity
getBoundingBox, getEntityRendererKey, 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
-
-
-
-
Method Detail
-
getAngleStart
public double getAngleStart()
Gets the starting angle of the revolving procedure, measured in radian, default value is 0.
-
setAngleStart
public void setAngleStart(double value)
Sets the starting angle of the revolving procedure, measured in radian, default value is 0.- Parameters:
value
- New value
-
getAngleEnd
public double getAngleEnd()
Gets the ending angle of the revolving procedure, measured in radian, default value is pi.
-
setAngleEnd
public void setAngleEnd(double value)
Sets the ending angle of the revolving procedure, measured in radian, default value is pi.- Parameters:
value
- New value
-
getAxis
public Vector3 getAxis()
Gets the axis direction, default value is (0, 1, 0).
-
setAxis
public void setAxis(Vector3 value)
Sets the axis direction, default value is (0, 1, 0).- Parameters:
value
- New value
-
getOrigin
public Vector3 getOrigin()
Gets the origin point of the revolving, default value is (0, 0, 0).
-
setOrigin
public void setOrigin(Vector3 value)
Sets the origin point of the revolving, default value is (0, 0, 0).- Parameters:
value
- New value
-
getShape
public Profile getShape()
Gets the base profile used to revolve.
-
setShape
public void setShape(Profile value)
Sets the base profile used to revolve.- Parameters:
value
- New value
-
toMesh
public Mesh toMesh()
Convert theRevolvedAreaSolid
into a mesh.- Specified by:
toMesh
in interfaceIMeshConvertible
- Returns:
- The mesh.
-
-