Package com.aspose.threed
Class RectangularTorus
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.SceneObject
-
- com.aspose.threed.Entity
-
- com.aspose.threed.Primitive
-
- com.aspose.threed.RectangularTorus
-
- All Implemented Interfaces:
IMeshConvertible,INamedObject
public class RectangularTorus extends Primitive
Parameterized rectangular torus.
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Constructor Summary
Constructors Constructor Description RectangularTorus()Constructor ofRectangularTorusRectangularTorus(java.lang.String name)Constructor ofRectangularTorus
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAngleStart()The start angle of the arc, measured in radian.doublegetArc()The total angle of the arc, measured in radian.doublegetHeight()The height of the rectangular torus.doublegetInnerRadius()The inner radius of the rectangular torus Default value is 17doublegetOuterRadius()The outer radius of the rectangular torus Default value is 20intgetRadialSegments()The radial segments, default value is 10voidsetAngleStart(double value)The start angle of the arc, measured in radian.voidsetArc(double value)The total angle of the arc, measured in radian.voidsetHeight(double value)The height of the rectangular torus.voidsetInnerRadius(double value)The inner radius of the rectangular torus Default value is 17voidsetOuterRadius(double value)The outer radius of the rectangular torus Default value is 20voidsetRadialSegments(int value)The radial segments, default value is 10MeshtoMesh()Convert this primitive toMesh-
Methods inherited from class com.aspose.threed.Primitive
createEmptyMesh, getCastShadows, getReceiveShadows, merge, setCastShadows, setReceiveShadows, setup
-
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
-
-
-
-
Constructor Detail
-
RectangularTorus
public RectangularTorus()
Constructor ofRectangularTorus
-
RectangularTorus
public RectangularTorus(java.lang.String name)
Constructor ofRectangularTorus
-
-
Method Detail
-
getInnerRadius
public double getInnerRadius()
The inner radius of the rectangular torus Default value is 17
-
setInnerRadius
public void setInnerRadius(double value)
The inner radius of the rectangular torus Default value is 17- Parameters:
value- New value
-
getOuterRadius
public double getOuterRadius()
The outer radius of the rectangular torus Default value is 20
-
setOuterRadius
public void setOuterRadius(double value)
The outer radius of the rectangular torus Default value is 20- Parameters:
value- New value
-
getHeight
public double getHeight()
The height of the rectangular torus. Default value is 20
-
setHeight
public void setHeight(double value)
The height of the rectangular torus. Default value is 20- Parameters:
value- New value
-
getArc
public double getArc()
The total angle of the arc, measured in radian. Default value is PI
-
setArc
public void setArc(double value)
The total angle of the arc, measured in radian. Default value is PI- Parameters:
value- New value
-
getAngleStart
public double getAngleStart()
The start angle of the arc, measured in radian. Default value is 0
-
setAngleStart
public void setAngleStart(double value)
The start angle of the arc, measured in radian. Default value is 0- Parameters:
value- New value
-
getRadialSegments
public int getRadialSegments()
The radial segments, default value is 10
-
setRadialSegments
public void setRadialSegments(int value)
The radial segments, default value is 10- Parameters:
value- New value
-
-