of method
Contents
[
Hide
]of(, node)
Construct a BooleanOperand instance from a node, a valid entity implemented IMeshConvertible is required
Returns
An instance of BooleanOperand
@staticmethod
def of(node):
...
| Parameter | Type | Description |
|---|---|---|
| node | aspose.threed.Node | A Node instance with a valid entity implemented IMeshConvertible |
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | Raised when node is null. |
| InvalidOperationException | Raised when no entity implemented IMeshConvertible found under this node |
of(, mesh)
Construct a BooleanOperand instance from a bare IMeshConvertible instance.
Returns
An instance of BooleanOperand
@staticmethod
def of(mesh):
...
| Parameter | Type | Description |
|---|---|---|
| mesh | aspose.threed.Entity | The mesh used as Boolean operation’s operand, it can bean instance of IMeshConvertible or HalfSpace |
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | Raised when mesh is null. |
of(, mesh, transform) {#aspose.threed.Entity-System.Nullable`1[[Aspose.ThreeD.Utilities.Matrix4]]}
@staticmethod
def of(mesh, transform):
...
| Parameter | Type | Description |
|---|---|---|
| mesh | aspose.threed.Entity | |
| transform | System.Nullable`1[[Aspose.ThreeD.Utilities.Matrix4]] |
See Also
- module
aspose.threed.entities - class
BooleanOperand - class
HalfSpace - class
IMeshConvertible - class
Node