BooleanOperand
Inheritance: java.lang.Object
public class BooleanOperand
此类将变换后的网格封装为布尔运算的操作数。
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getOperand() | 获取操作数,它可以是 HalfSpace、IMeshConvertible 或 Node 的实例。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| of(Entity mesh) | 从裸的 IMeshConvertible 实例构造一个 BooleanOperand 实例。 |
| of(Entity mesh, Matrix4 transform) | 从 IMeshConvertible 实例和指定的变换构造一个 BooleanOperand 实例。 |
| of(Node node) | 从节点构造一个 BooleanOperand 实例,需要实现了 IMeshConvertible 的有效实体。 |
| toString() | 获取 BooleanOperand 的字符串表示。 |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: 布尔
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getOperand()
public A3DObject getOperand()
获取操作数,它可以是 HalfSpace、IMeshConvertible 或 Node 的实例。
Returns: A3DObject - the operand, it can be an instance of HalfSpace, IMeshConvertible or Node.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
of(Entity mesh)
public static BooleanOperand of(Entity mesh)
从裸的 IMeshConvertible 实例构造一个 BooleanOperand 实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| mesh | Entity | 用作布尔运算操作数的网格,它可以是 IMeshConvertible 或 HalfSpace 的实例。 |
Returns: BooleanOperand - An instance of BooleanOperand
of(Entity mesh, Matrix4 transform)
public static BooleanOperand of(Entity mesh, Matrix4 transform)
从 IMeshConvertible 实例和指定的变换构造一个 BooleanOperand 实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| mesh | Entity | 用作布尔运算操作数的网格,它可以是 IMeshConvertible 或 HalfSpace 的实例。 |
| transform | Matrix4 | 网格对象的变换。 |
Returns: BooleanOperand - An instance of BooleanOperand
of(Node node)
public static BooleanOperand of(Node node)
从节点构造一个 BooleanOperand 实例,需要实现了 IMeshConvertible 的有效实体。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| node | Node | 一个实现了 IMeshConvertible 的有效实体的 Node 实例。 |
Returns: BooleanOperand - An instance of BooleanOperand
toString()
public String toString()
获取 BooleanOperand 的字符串表示。
Returns: java.lang.String - BooleanOperand 的字符串表示。
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |