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

getArea()

Compute the area of this node's bounding box in UV units.

getBoundingBox()

Get the node bounding box in UV units.

getCenter()

Get the UV center of the node's bounding box.

getHumanReadableName()

Get a human-readable name for this node, indicating the name and index of the node.

getName()

Get the node name.

getOutline()

Get the node outline in UV units.

getRatio()

See ModelInterface.getRatio().

getUri()

Get the node URI.

getUrn()

Get the node URI.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.