CircleShape

概述

CircleShape 是 Aspose.3D FOSS 中用于 Java 的类。继承自:ParameterizedProfile。

兼容 IFC 的圆形剖面,可通过 LinearExtrusion 用于构建网格。

此类提供 28 个方法,用于在 Java 程序中处理 CircleShape 对象。可用的方法包括:A3DObject、CircleShape、Entity、ParameterizedProfile、Profile、SceneObject、findProperty、getBoundingBox、getEntityRendererKey、getExcluded、getExtent、getName,以及另外 12 个方法。安装 Aspose.3D FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:boundingBox、entityRendererKey、excluded、extent、name、parentNode,以及另外 4 项。

属性

名称类型访问描述
radiusdouble读取获取圆的半径。
extentVector2读取获取 x 和 y 维度的范围。
boundingBoxBoundingBox读取获取边界框。
parentNodeNode读取获取父节点。
parentNodesArrayList<Node>读取获取父节点。
excludedboolean读取获取已排除的。
entityRendererKeyEntityRendererKey读取获取实体渲染器键。
sceneScene读取获取场景。
nameString读取获取名称。
propertiesPropertyCollection读取获取属性。

方法

签名描述
CircleShape()构建一个 CircleShape 配置文件,默认半径为 (5)。
CircleShape(radius: double)构建一个 CircleShape 配置文件,指定半径。
getRadius() → double获取圆的半径。
setRadius(value: double)设置圆的半径。
getExtent() → Vector2获取 x 和 y 维度的范围。
ParameterizedProfile()构造函数。
Profile()构造函数。
getBoundingBox() → BoundingBox返回边界框。
Entity(name: String)在此 CircleShape 实例上调用 Entity(name)。
getParentNode() → Node返回父节点。
setParentNode(value: Node)设置父节点的值。
getParentNodes() → ArrayList<Node>返回父节点。
getExcluded() → boolean返回已排除的。
setExcluded(value: boolean)设置排除的值。
getEntityRendererKey() → EntityRendererKey返回实体渲染器键。
SceneObject()兼容 IFC 的圆形剖面,可通过 LinearExtrusion 构建网格。
SceneObject(name: String)在此 CircleShape 实例上调用 SceneObject(name)。
getScene() → Scene返回场景。
A3DObject()在此 CircleShape 实例上调用 A3DObject。
A3DObject(name: String)在此 CircleShape 实例上调用 A3DObject(name)。
getName() → String返回名称。
setName(name: String)构建一个 CircleShape 轮廓,使用指定的半径。
getProperties() → PropertyCollection返回属性。
findProperty(name: String) → Property在此 CircleShape 实例上调用 findProperty(name)。
getProperty(name: String) → Object在此 CircleShape 实例上调用 getProperty(name)。
setProperty(name: String, value: Object)设置属性值。
removeProperty(name: String) → boolean在此 CircleShape 实例上调用 removeProperty(name)。
removeProperty(property: Property) → boolean在此 CircleShape 实例上调用 removeProperty(property)。

另请参阅

 中文