NodeInterface interface
Contract describing Nodes.
Signature:
interface NodeInterface
Remarks
Nodes are parts of a Model to which design elements can be applied (MeshInterface, ZoneInterface).
For example:
A t-shirt model may have front, back, left sleeve, and right sleeve Meshes, and front and back Zones for DTG graphic placement.
Methods
Method |
Description |
---|---|
Compute polygons for this node. | |
Check whether the node contains the provided point. | |
Get the cumulative area of this node's UV islands in UV units. | |
Get the node bounding box in UV units. | |
Get the center of the polygon with the largest area. | |
Get a human-readable name for this node, indicating the name and index of the node. | |
Get the node name. | |
Get polygons representing the UV islands of this node. | |
Get the node URI. | |
Get the node URI. | |
Check whether the node intersects with the provided node. | |
Run any initialization needed for this node. |