SilverScreen Solid Modeler

POINT_NODE

POINT_NODE

Previous topic Next topic  

POINT_NODE

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

SilverSharp.POINT_NODE

 

Structure

A SilverSharp.POINT_NODE object stores information relevant to a SilverScreen point primitive.

 

 

 

C# Code

 

public class POINT_NODE sealed : PRIM_NODE

  {

  POINT_NODE(POINT_NODE rhs);

  POINT_NODE(string point_path);

 

  enum PointTypes

     {

     Common   = 0,

     XY_plane = 1,

     YZ_plane = 2,

     ZX_plane = 3,

     Triad    = 4,

     };

 

  property SS_XYZ     xyz   { get; }

  property uint       point { get; }

  property PointTypes point_type { get; }

  property WidthStyle point_width_style { get; }

  property double     point_size { get; }

  property SS_RGB     point_rgb { get; }

  };

 

 

 

Properties

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

 

Name

Description

point

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

point_type

A PointTypes enumeration whose meaning is as follows

 

Value

Meaning

Common

A common point, displayed as a dot

XY_plane

An XY point, displayed as a plus-sign parallel to the Cartesian X and Y axes

YZ_plane

A YZ point, displayed as a plus-sign parallel to the Cartesian Y and Z axes

ZX_plane

A ZX point, displayed as a plus-sign parallel to the Cartesian X and Z axes

Triad

A triad point, displayed as 3 lines parallel to the Cartesian X, Y, and Z axes

point_width_style

A WidthStyle object containing the edge width and style index for rendering the point

point_size

When 'point_type' is not PointTypes.Common, this is the length of an axis that is parallel to one of the Cartesian coordinate axes

point_rgb

The color used to render the point primitive

 

The following read-only properties extend POINT_NODE for SilverSharp:

 

Name

Description

xyz

A 3D point that stores the location

 

 

Methods

Member

Description

POINT_NODE

Constructor(s) to initialize the object

 

 

Remarks

A SilverSharp.POINT_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.POINT_NODE is a SilverSharp.PRIM_NODE, but the reverse is not true.

 

 

See Also

Primitive Types, PRIM_NODE, SilverC POINT_NODE