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
| Name | Type | Access | Description |
|---|---|---|---|
innerRadius | double | Read | The inner radius of the rectangular torus. |
outerRadius | double | Read | The outer radius of the rectangular torus. |
height | double | Read | The height of the rectangular torus. |
arc | double | Read | The total angle of the arc, measured in radian. |
angleStart | double | Read | The start angle of the arc, measured in radian. |
radialSegments | int | Read | The radial segments. |
castShadows | boolean | Read | Gets whether this geometry can cast shadow. |
receiveShadows | boolean | Read | Gets whether this geometry can receive shadow. |
parentNode | Node | Read | Gets the parent node. |
parentNodes | ArrayList<Node> | Read | Gets the parent nodes. |
excluded | boolean | Read | Gets the excluded. |
boundingBox | BoundingBox | Read | Gets the bounding box. |
entityRendererKey | EntityRendererKey | Read | Gets the entity renderer key. |
scene | Scene | Read | Gets the scene. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
getInnerRadius() → double | The inner radius of the rectangular torus. |
setInnerRadius(value: double) | Sets the inner radius value. |
getOuterRadius() → double | The outer radius of the rectangular torus. |
setOuterRadius(value: double) | Sets the outer radius value. |
getHeight() → double | The height of the rectangular torus. |
setHeight(value: double) | Sets the height value. |
getArc() → double | The total angle of the arc, measured in radian. |
setArc(value: double) | Sets the arc value. |
getAngleStart() → double | The start angle of the arc, measured in radian. |
setAngleStart(value: double) | Sets the angle start value. |
getRadialSegments() → int | The radial segments. |
setRadialSegments(value: int) | Sets the radial segments value. |
RectangularTorus() | Constructor of RectangularTorus. |
toMesh() → Mesh | Not implemented in the FOSS edition — throws at runtime. Calls toMesh on this RectangularTorus instance. |
getCastShadows() → boolean | Gets whether this geometry can cast shadow. |
setCastShadows(value: boolean) | The inner radius of the rectangular torus. |
getReceiveShadows() → boolean | Gets 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() → Node | Returns the parent node. |
setParentNode(value: Node) | Sets the parent node value. |
getParentNodes() → ArrayList<Node> | Returns the parent nodes. |
getExcluded() → boolean | Returns the excluded. |
setExcluded(value: boolean) | Sets the excluded value. |
getBoundingBox() → BoundingBox | Returns the bounding box. |
getEntityRendererKey() → EntityRendererKey | Returns the entity renderer key. |
SceneObject() | Parameterized rectangular torus. |
SceneObject(name: String) | Calls SceneObject(name) on this RectangularTorus instance. |
getScene() → Scene | Returns the scene. |
A3DObject() | Calls A3DObject on this RectangularTorus instance. |
A3DObject(name: String) | Calls A3DObject(name) on this RectangularTorus instance. |
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getProperties() → PropertyCollection | Returns the properties. |
findProperty(name: String) → Property | Calls findProperty(name) on this RectangularTorus instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this RectangularTorus instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this RectangularTorus instance. |
removeProperty(property: Property) → boolean | The total angle of the arc, measured in radian. |