public class BooleanOperand
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
A3DObject |
getOperand()
|
static BooleanOperand |
of(Entity mesh)
Construct a
BooleanOperand instance from a bare IMeshConvertible instance. |
static BooleanOperand |
of(Entity mesh,
Matrix4 transform)
Construct a
BooleanOperand instance from a IMeshConvertible instance and specified transform. |
static BooleanOperand |
of(Node node)
Construct a
BooleanOperand instance from a node, a valid entity implemented IMeshConvertible is required |
java.lang.String |
toString()
Gets the string representation of
BooleanOperand |
public A3DObject getOperand()
HalfSpace, IMeshConvertible or Node.public java.lang.String toString()
BooleanOperandtoString in class java.lang.ObjectBooleanOperandpublic static BooleanOperand of(Node node)
BooleanOperand instance from a node, a valid entity implemented IMeshConvertible is requirednode - A Node instance with a valid entity implemented IMeshConvertibleBooleanOperandjava.lang.IllegalArgumentException - Raised when node is null.java.lang.IllegalStateException - Raised when no entity implemented IMeshConvertible found under this nodepublic static BooleanOperand of(Entity mesh)
BooleanOperand instance from a bare IMeshConvertible instance.mesh - The mesh used as Boolean operation's operand, it can bean instance of IMeshConvertible or HalfSpaceBooleanOperandjava.lang.IllegalArgumentException - Raised when mesh is null.public static BooleanOperand of(Entity mesh, Matrix4 transform)
BooleanOperand instance from a IMeshConvertible instance and specified transform.mesh - The mesh used as Boolean operation's operand, it can bean instance of IMeshConvertible or HalfSpacetransform - The transform of the mesh objectBooleanOperandjava.lang.IllegalArgumentException - Raised when mesh is null.