SilverScreen Solid Modeler

SPOINT_NODE methods

SPOINT_NODE methods

Previous topic Next topic  

SPOINT_NODE methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

SPOINT_NODE(SPOINT_NODE rhs)

SPOINT_NODE(string spoint_path);

 

SPOINT_NODE rhs;        // A SilverSharp.SPOINT_NODE object

string     spoint_path; // A System.String object

 

 




Synopsis

using SilverSharp;

 

The SPOINT_NODE constructors create and initialize a SilverSharp.SPOINT_NODE object. The first form makes a shallow copy of another SilverSharp.SPOINT_NODE object. The second form creates a SilverSharp.SPOINT_NODE from a path to a spline-point primitive.

 

 

Parameters

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

 

spoint_path is a path to a SilverScreen spline-point primitive

 

 

Return Value

SPOINT_NODE returns a SilverSharp.SPOINT_NODE object.

 

 

Remarks

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

 

 

See Also

SPOINT_NODE, Primitive Types

 

 

Example

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

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 SPOINT_NODE spt = new SPOINT_NODE("s-point \\obj1.3");

 

 if ( PRIM_NODE.IsEmpty(spt) )

    return;