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 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
radius | double | 读取 | 获取圆的半径。 |
extent | Vector2 | 读取 | 获取 x 和 y 维度的范围。 |
boundingBox | BoundingBox | 读取 | 获取边界框。 |
parentNode | Node | 读取 | 获取父节点。 |
parentNodes | ArrayList<Node> | 读取 | 获取父节点。 |
excluded | boolean | 读取 | 获取已排除的。 |
entityRendererKey | EntityRendererKey | 读取 | 获取实体渲染器键。 |
scene | Scene | 读取 | 获取场景。 |
name | String | 读取 | 获取名称。 |
properties | PropertyCollection | 读取 | 获取属性。 |
方法
| 签名 | 描述 |
|---|---|
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)。 |