Cyclone 3DR Script
from Technodigit, part of Hexagon. Copyright 1997-2025.
Loading...
Searching...
No Matches
SSurfacePoint Class Reference

Provide surface point manipulation and creation methods. More...

Public Member Functions

SPoint GetPoint ()
 Return the SPoint of this surface point.
 
SVector GetVector ()
 Get the SVector of this surface point.
 
 SSurfacePoint ()
 Default constructor to create an empty new SSurfacePoint.
 
 SSurfacePoint (SPoint point, SVector vector)
 Construct an SSurfacePoint from an SPoint and an SVector.
 
 SSurfacePoint (SSurfacePoint other)
 Construct an SSurfacePoint by copying another SSurfacePoint.
 
string toString ()
 Get the type of the variable.
 

Static Public Member Functions

static SSurfacePoint New ()
 Default constructor to create an empty new SSurfacePoint.
 
static SSurfacePoint New (SPoint point, SVector vector)
 Construct an SSurfacePoint from an SPoint and an SVector.
 
static SSurfacePoint New (SSurfacePoint other)
 Construct an SSurfacePoint by copying another SSurfacePoint.
 

Detailed Description

Provide surface point manipulation and creation methods.

Constructor & Destructor Documentation

◆ SSurfacePoint() [1/2]

SSurfacePoint::SSurfacePoint ( SPoint point,
SVector vector )

Construct an SSurfacePoint from an SPoint and an SVector.

Parameters
point(SPoint) The SPoint of the surface point.
vector(SVector) The normal of the surface point.

◆ SSurfacePoint() [2/2]

SSurfacePoint::SSurfacePoint ( SSurfacePoint other)

Construct an SSurfacePoint by copying another SSurfacePoint.

Parameters
other(SSurfacePoint) The SSurfacePoint to copy.

Member Function Documentation

◆ GetPoint()

SPoint SSurfacePoint::GetPoint ( )

Return the SPoint of this surface point.

Returns
(SPoint) The SPoint of this surface point

◆ GetVector()

SVector SSurfacePoint::GetVector ( )

Get the SVector of this surface point.

Returns
(SVector) The SVector of this surface point.

◆ New() [1/3]

static SSurfacePoint SSurfacePoint::New ( )
static

Default constructor to create an empty new SSurfacePoint.

Returns
(SSurfacePoint) The new SSurfacePoint.

◆ New() [2/3]

static SSurfacePoint SSurfacePoint::New ( SPoint point,
SVector vector )
static

Construct an SSurfacePoint from an SPoint and an SVector.

Parameters
point(SPoint) The SPoint of the surface point.
vector(SVector) The normal of the surface point.
Returns
(SSurfacePoint) The new SSurfacePoint.

◆ New() [3/3]

static SSurfacePoint SSurfacePoint::New ( SSurfacePoint other)
static

Construct an SSurfacePoint by copying another SSurfacePoint.

Parameters
other(SSurfacePoint) The SSurfacePoint to copy.
Returns
(SSurfacePoint) The new SSurfacePoint.

◆ toString()

string SSurfacePoint::toString ( )

Get the type of the variable.

Returns
(string) The type name