BooleanOperand
Inheritance: java.lang.Object
public class BooleanOperand
This class encapsulates the transformed mesh as Boolean operation’s operand.
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getOperand() | Gets the operand, it can be an instance of HalfSpace, IMeshConvertible or Node. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| of(Entity mesh) | Construct a BooleanOperand instance from a bare IMeshConvertible instance. |
| of(Entity mesh, Matrix4 transform) | Construct a BooleanOperand instance from a IMeshConvertible instance and specified transform. |
| of(Node node) | Construct a BooleanOperand instance from a node, a valid entity implemented IMeshConvertible is required |
| toString() | Gets the string representation of BooleanOperand |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getOperand()
public A3DObject getOperand()
Gets the operand, it can be an instance of HalfSpace, IMeshConvertible or 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)
Construct a BooleanOperand instance from a bare IMeshConvertible instance.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| mesh | Entity | The mesh used as Boolean operation’s operand, it can bean instance of IMeshConvertible or HalfSpace |
Returns: BooleanOperand - An instance of BooleanOperand
of(Entity mesh, Matrix4 transform)
public static BooleanOperand of(Entity mesh, Matrix4 transform)
Construct a BooleanOperand instance from a IMeshConvertible instance and specified transform.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| mesh | Entity | The mesh used as Boolean operation’s operand, it can bean instance of IMeshConvertible or HalfSpace |
| transform | Matrix4 | The transform of the mesh object |
Returns: BooleanOperand - An instance of BooleanOperand
of(Node node)
public static BooleanOperand of(Node node)
Construct a BooleanOperand instance from a node, a valid entity implemented IMeshConvertible is required
Parameters:
| Parameter | Type | Description |
|---|---|---|
| node | Node | A Node instance with a valid entity implemented IMeshConvertible |
Returns: BooleanOperand - An instance of BooleanOperand
toString()
public String toString()
Gets the string representation of BooleanOperand
Returns: java.lang.String - The string representation of BooleanOperand
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |