RectangularTorus

RectangularTorus

Overview

RectangularTorus is a class in Aspose.3D FOSS for Java. Inherits from: Primitive.

Parameterized rectangular torus.

This class provides 41 methods for working with RectangularTorus objects in Java programs. Available methods include: A3DObject, Entity, Primitive, RectangularTorus, SceneObject, findProperty, getAngleStart, getArc, getBoundingBox, getCastShadows, getEntityRendererKey, getExcluded, and 25 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: angleStart, arc, boundingBox, castShadows, entityRendererKey, excluded, and 10 more.

Properties

NameTypeAccessDescription
innerRadiusdoubleReadThe inner radius of the rectangular torus.
outerRadiusdoubleReadThe outer radius of the rectangular torus.
heightdoubleReadThe height of the rectangular torus.
arcdoubleReadThe total angle of the arc, measured in radian.
angleStartdoubleReadThe start angle of the arc, measured in radian.
radialSegmentsintReadThe radial segments.
castShadowsbooleanReadGets whether this geometry can cast shadow.
receiveShadowsbooleanReadGets whether this geometry can receive shadow.
parentNodeNodeReadGets the parent node.
parentNodesArrayList<Node>ReadGets the parent nodes.
excludedbooleanReadGets the excluded.
boundingBoxBoundingBoxReadGets the bounding box.
entityRendererKeyEntityRendererKeyReadGets the entity renderer key.
sceneSceneReadGets the scene.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
getInnerRadius()doubleThe inner radius of the rectangular torus.
setInnerRadius(value: double)Sets the inner radius value.
getOuterRadius()doubleThe outer radius of the rectangular torus.
setOuterRadius(value: double)Sets the outer radius value.
getHeight()doubleThe height of the rectangular torus.
setHeight(value: double)Sets the height value.
getArc()doubleThe total angle of the arc, measured in radian.
setArc(value: double)Sets the arc value.
getAngleStart()doubleThe start angle of the arc, measured in radian.
setAngleStart(value: double)Sets the angle start value.
getRadialSegments()intThe radial segments.
setRadialSegments(value: int)Sets the radial segments value.
RectangularTorus()Constructor of RectangularTorus.
toMesh()MeshNot implemented in the FOSS edition — throws at runtime. Calls toMesh on this RectangularTorus instance.
getCastShadows()booleanGets whether this geometry can cast shadow.
setCastShadows(value: boolean)The inner radius of the rectangular torus.
getReceiveShadows()booleanGets whether this geometry can receive shadow.
setReceiveShadows(value: boolean)The outer radius of the rectangular torus.
Primitive()Initializes a new instance of the Primitive class.
Primitive(name: String)Initializes a new instance of the Primitive class.
Entity(name: String)Calls Entity(name) on this RectangularTorus instance.
getParentNode()NodeReturns the parent node.
setParentNode(value: Node)Sets the parent node value.
getParentNodes()ArrayList<Node>Returns the parent nodes.
getExcluded()booleanReturns the excluded.
setExcluded(value: boolean)Sets the excluded value.
getBoundingBox()BoundingBoxReturns the bounding box.
getEntityRendererKey()EntityRendererKeyReturns the entity renderer key.
SceneObject()Parameterized rectangular torus.
SceneObject(name: String)Calls SceneObject(name) on this RectangularTorus instance.
getScene()SceneReturns the scene.
A3DObject()Calls A3DObject on this RectangularTorus instance.
A3DObject(name: String)Calls A3DObject(name) on this RectangularTorus instance.
getName()StringReturns the name.
setName(name: String)Sets the name value.
getProperties()PropertyCollectionReturns the properties.
findProperty(name: String)PropertyCalls findProperty(name) on this RectangularTorus instance.
getProperty(name: String)ObjectCalls getProperty(name) on this RectangularTorus instance.
setProperty(name: String, value: Object)Sets the property value.
removeProperty(name: String)booleanCalls removeProperty(name) on this RectangularTorus instance.
removeProperty(property: Property)booleanThe total angle of the arc, measured in radian.

See Also

 English