SilverScreen Solid Modeler

POINT_NODE methods

POINT_NODE methods

Previous topic Next topic  

POINT_NODE methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

POINT_NODE(POINT_NODE rhs)

POINT_NODE(string point_path);

 

POINT_NODE rhs;        // A SilverSharp.POINT_NODE object

string     point_path; // A System.String object

 

 




Synopsis

using SilverSharp;

 

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

 

 

Parameters

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

 

point_path is a path to a SilverScreen line primitive

 

 

Return Value

POINT_NODE returns a SilverSharp.POINT_NODE object.

 

 

Remarks

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

 

 

See Also

POINT_NODE, Primitive Types

 

 

Example

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

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 POINT_NODE poly = new POINT_NODE("point \\obj1.1");

 

 if ( PRIM_NODE.IsEmpty(poly) )

    return;