SilverScreen Solid Modeler

LINE_NODE methods

LINE_NODE methods

Previous topic Next topic  

LINE_NODE methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

LINE_NODE(LINE_NODE rhs)

LINE_NODE(string line_path);

 

LINE_NODE rhs;        // A SilverSharp.LINE_NODE object

string    line_path;  // A System.String object

 

 




Synopsis

using SilverSharp;

 

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

 

 

Parameters

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

 

line_path is a path to a SilverScreen line primitive.

 

 

Return Value

LINE_NODE returns a SilverSharp.LINE_NODE object.

 

 

Remarks

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

 

 

See Also

LINE_NODE, Primitive Types

 

 

Example

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

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 LINE_NODE line = new LINE_NODE("line \\obj1.1");

 

 if ( LINE_NODE.IsEmpty(line) )

    return;