SilverScreen Solid Modeler

SPOINT_NODE

SPOINT_NODE

Previous topic Next topic  

SPOINT_NODE

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

SilverSharp.SPOINT_NODE

 

Structure

A SilverSharp.SPOINT_NODE object stores information relevant to a SilverScreen spline-point primitive.

 

 

 

C# Code

 

 class SPOINT_NODE sealed : PRIM_NODE

    {

    SPOINT_NODE(SPOINT_NODE rhs);

    SPOINT_NODE(string spoint_path);

 

    property SS_XYZ     xyz   { get; }

    property uint       point { get; }

    property int        knots { get; }

    };

 

 

 

Properties

The following read-only properties mimic the purpose of their counter-parts in the SilverC SPOINT_NODE:

 

Name

Description

point

A vertex number from the OBJECT_NODE that contains the point and which stores the location.

knots

An integer value between 0 and 3 that represents the amount of tension at this spline control point. There is no additional tension when the value is 0, and there is maximum tension when the value is 3. At maximum tension a straight line will be drawn between control points.

 

The following read-only properties extend SPOINT_NODE for SilverSharp:

 

Name

Description

xyz

A 3D point that stores the location

 

 

Methods

Member

Description

SPOINT_NODE

Constructor(s) to initialize the object

 

 

Remarks

A SilverSharp.SPOINT_NODE inherits from a SilverSharp.PRIM_NODE and therefore includes those properties and methods as well; for instance, Path, Type, and PrimBits are inherited properties of a SilverSharp.PRIM_NODE.

 

Note: A SilverSharp.SPOINT_NODE is a SilverSharp.PRIM_NODE, but the reverse is not true.

 

 

See Also

Primitive Types, PRIM_NODE, SilverC SPOINT_NODE