BooleanOperand

Inheritance: java.lang.Object

public class BooleanOperand

This class encapsulates the transformed mesh as Boolean operation’s operand.

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
meshEntityThe 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:

ParameterTypeDescription
meshEntityThe mesh used as Boolean operation’s operand, it can bean instance of IMeshConvertible or HalfSpace
transformMatrix4The 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:

ParameterTypeDescription
nodeNodeA 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int