SilverScreen Solid Modeler

MESH_NODE methods

MESH_NODE methods

Previous topic Next topic  

MESH_NODE methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

MESH_NODE(MESH_NODE rhs)

MESH_NODE(string mesh_path);

 

MESH_NODE rhs;        // A SilverSharp.MESH_NODE object

string    mesh_path; // A System.String object

 

 




Synopsis

using SilverSharp;

 

The MESH_NODE constructors create and initialize a SilverSharp.MESH_NODE object. The first form makes a shallow copy of another SilverSharp.MESH_NODE object. The second form creates a SilverSharp.MESH_NODE from a path to a Bezier mesh primitive.

 

 

Parameters

rhs is a SilverSharp.MESH_NODE object from which a shallow copy will be made.

 

mesh_path is a path to a SilverScreen Bezier mesh primitive

 

 

Return Value

MESH_NODE returns a SilverSharp.MESH_NODE object.

 

 

Remarks

If mesh_path specifies an invalid path, then the inherited IsEmpty method will return true.

 

 

See Also

MESH_NODE, Primitive Types

 

 

Example

The following code shows how to construct a SilverSharp.MESH_NODE object.

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 MESH_NODE mesh = new MESH_NODE("mesh \\obj1.1");

 

 if ( PRIM_NODE.IsEmpty(mesh) )

    return;