SilverScreen Solid Modeler

SS_COEF methods

SS_COEF methods

Previous topic Next topic  

SS_COEF methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

SS_COEF();

SS_COEF(double a, double b, double c, double d);

SS_COEF(SS_COEF Plane);

 

double  a;     // A double-precision floating-point value for A

double  b;     // A double-precision floating-point value for B

double  c;     // A double-precision floating-point value for C

double  d;     // A double-precision floating-point value for D

SS_COEF Plane; // A SilverSharp.SS_COEF object

 

 




Synopsis

using SilverSharp;

 

The SS_COEF constructors create a SilverSharp.SS_COEF object. The first form assigns all components zero, the second form specifies each component individually, and the third form creates a copy of another SilverSharp.SS_COEF object.

 

 

Parameters

a is a value for the A component of the plane equation

b is a value for the B component of the plane equation

c is a value for the C component of the plane equation

d is a value for the D component of the plane equation

Plane is a plane equation that is to be used to initialize the SilverSharp.SS_COEF object

 

 

Return Value

none

 

 

See Also

SS_COEF

 

 

Example

The following code shows how to construct a SilverSharp.SS_COEF object:

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 SS_COEF coef1 = new SS_COEF(0.0, 0.0, 1.0, 0.0);

 SS_COEF coef2 = new SS_COEF(coef1);