BooleanOperator
概述
BooleanOperator 是 Aspose.3D FOSS 中用于 Java 的类。继承自:Entity,IMeshConvertible。
布尔运算符允许您对两个 IMeshConvertible 实例执行布尔运算。
此类提供 29 个方法,用于在 Java 程序中处理 BooleanOperator 对象。可用的方法包括:A3DObject、BooleanOperator、Entity、SceneObject、findProperty、getBoundingBox、getEntityRendererKey、getExcluded、getFirst、getName、getOperator、getParentNode,以及另外 14 个方法。安装 Aspose.3D FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:boundingBox、entityRendererKey、excluded、first、name、operator,以及另外 5 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
operator | BooleanOperation | 读取 | 用于创建结果网格的操作中的布尔运算符。 |
first | BooleanOperand | 读取 | 布尔运算符的第一个操作数。 |
second | BooleanOperand | 读取 | 布尔运算符的第二个操作数。 |
parentNode | Node | 读取 | 获取父节点。 |
parentNodes | ArrayList<Node> | 读取 | 获取父节点。 |
excluded | boolean | 读取 | 获取已排除的。 |
boundingBox | BoundingBox | 读取 | 获取边界框。 |
entityRendererKey | EntityRendererKey | 读取 | 获取实体渲染器键。 |
scene | Scene | 读取 | 获取场景。 |
name | String | 读取 | 获取名称。 |
properties | PropertyCollection | 读取 | 获取属性。 |
方法
| 签名 | 描述 |
|---|---|
BooleanOperator() | BooleanOperator 的构造函数。 |
getOperator() → BooleanOperation | 在创建结果网格的操作中使用的布尔运算符。 |
setOperator(value: BooleanOperation) | 在创建结果网格的操作中使用的布尔运算符。 |
getFirst() → BooleanOperand | 布尔运算符的第一个操作数。 |
setFirst(value: BooleanOperand) | 布尔运算符的第一个操作数。 |
getSecond() → BooleanOperand | 布尔运算符的第二个操作数。 |
setSecond(value: BooleanOperand) | 布尔运算符的第二个操作数。 |
toMesh() → Mesh | 对两个操作数执行布尔运算。 |
Entity(name: String) | BooleanOperator 的构造函数。 |
getParentNode() → Node | 返回父节点。 |
setParentNode(value: Node) | 在创建结果网格的操作中使用的布尔运算符。 |
getParentNodes() → ArrayList<Node> | 返回父节点。 |
getExcluded() → boolean | 在创建结果网格的操作中使用的布尔运算符。 |
setExcluded(value: boolean) | 设置排除的值。 |
getBoundingBox() → BoundingBox | 布尔运算符的第一个操作数。 |
getEntityRendererKey() → EntityRendererKey | 返回实体渲染器键。 |
SceneObject() | 布尔运算符允许您对两个 IMeshConvertible 实例执行布尔运算。 |
SceneObject(name: String) | 在此 BooleanOperator 实例上调用 SceneObject(name)。 |
getScene() → Scene | BooleanOperator 的构造函数。 |
A3DObject() | 在此 BooleanOperator 实例上调用 A3DObject。 |
A3DObject(name: String) | 在此 BooleanOperator 实例上调用 A3DObject(name)。 |
getName() → String | 返回名称。 |
setName(name: String) | 设置名称值。 |
getProperties() → PropertyCollection | 返回属性。 |
findProperty(name: String) → Property | 在此 BooleanOperator 实例上调用 findProperty(name)。 |
getProperty(name: String) → Object | 在此 BooleanOperator 实例上调用 getProperty(name)。 |
setProperty(name: String, value: Object) | 设置属性值。 |
removeProperty(name: String) → boolean | 在此 BooleanOperator 实例上调用 removeProperty(name)。 |
removeProperty(property: Property) → boolean | 在此 BooleanOperator 实例上调用 removeProperty(property)。 |