public class BooleanOperator extends Entity implements IMeshConvertible
IMeshConvertible instances.name, properties| Constructor and Description |
|---|
BooleanOperator()
Constructor of
BooleanOperator |
BooleanOperator(BooleanOperation operation,
A3DObject first,
A3DObject second)
Constructs a new instance of
BooleanOperator with two operands |
| Modifier and Type | Method and Description |
|---|---|
BooleanOperand |
getFirst()
The first operand of the Boolean operator
|
BooleanOperation |
getOperator()
The Boolean operator used in the operation to create the result mesh.
|
BooleanOperand |
getSecond()
The second operand of the Boolean operator
|
void |
setFirst(BooleanOperand value)
The first operand of the Boolean operator
|
void |
setOperator(BooleanOperation value)
The Boolean operator used in the operation to create the result mesh.
|
void |
setSecond(BooleanOperand value)
The second operand of the Boolean operator
|
Mesh |
toMesh()
Perform the Boolean operation on two operands
|
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNodegetScenefindProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic BooleanOperator()
BooleanOperatorpublic BooleanOperator(BooleanOperation operation, A3DObject first, A3DObject second)
BooleanOperator with two operandsoperation - Boolean operation kindfirst - Instance of IMeshConvertible, HalfSpace or Nodesecond - Instance of IMeshConvertible, HalfSpace or Nodepublic BooleanOperation getOperator()
public void setOperator(BooleanOperation value)
value - New valuepublic BooleanOperand getFirst()
public void setFirst(BooleanOperand value)
value - New valuepublic BooleanOperand getSecond()
public void setSecond(BooleanOperand value)
value - New valuepublic Mesh toMesh()
toMesh in interface IMeshConvertible