SilverScreen Solid Modeler

BPOINT_NODE methods

BPOINT_NODE methods

Previous topic Next topic  

BPOINT_NODE methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

BPOINT_NODE(BPOINT_NODE rhs)

BPOINT_NODE(string bpoint_path);

 

BPOINT_NODE rhs;        // A SilverSharp.BPOINT_NODE object

string     bpoint_path; // A System.String object

 

 




Synopsis

using SilverSharp;

 

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

 

 

Parameters

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

 

bpoint_path is a path to a SilverScreen Bezier-point primitive

 

 

Return Value

BPOINT_NODE returns a SilverSharp.BPOINT_NODE object.

 

 

Remarks

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

 

 

See Also

BPOINT_NODE, Primitive Types

 

 

Example

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

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 BPOINT_NODE bpt = new BPOINT_NODE("b-point \\obj1.3");

 

 if ( PRIM_NODE.IsEmpty(bpt) )

    return;