AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
ParametricSurface Class Reference
Inheritance diagram for ParametricSurface:
ParametricGeometry

Public Member Functions

synchronized void delete ()
 
 ParametricSurface (TopoShape topoFace)
 
boolean IsValidGeometry ()
 
boolean Initialize (TopoShape topoShape)
 
EnumSurfaceType GetSurfaceType ()
 
double Tolerance ()
 
double FirstUParameter ()
 
double LastUParameter ()
 
double FirstVParameter ()
 
double LastVParameter ()
 
int UContinuity ()
 
int VContinuity ()
 
boolean IsUClosed ()
 
boolean IsVClosed ()
 
boolean IsUPeriodic ()
 
boolean IsVPeriodic ()
 
double UPeriod ()
 
double VPeriod ()
 
GTrsf GetTransform ()
 
GPnt Value (double u, double v)
 
GVec GetNormal (double u, double v)
 
GPnt D0 (double u, double v)
 
DerivativeValues D1 (double u, double v)
 
DerivativeValues D2 (double u, double v)
 
DerivativeValues D3 (double u, double v)
 
GVec DN (double u, double v, int nu, int nv)
 
double GetArea ()
 
- Public Member Functions inherited from ParametricGeometry
synchronized void delete ()
 
long GetId ()
 
void SetId (long val)
 
boolean IsValidGeometry ()
 
boolean Initialize (TopoShape topoShape)
 
TopoShape GetShape ()
 

Protected Member Functions

 ParametricSurface (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 
- Protected Member Functions inherited from ParametricGeometry
 ParametricGeometry (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (ParametricSurface obj)
 
- Static Protected Member Functions inherited from ParametricGeometry
static long getCPtr (ParametricGeometry obj)
 

Detailed Description


ParametricSurface is the Parametric representation of the shape.

Member Function Documentation

GPnt ParametricSurface.D0 ( double  u,
double  v 
)

Computes the point of parameter U on the surface.

Parameters
uthe parameter
vthe parameter v
Returns
the point.
DerivativeValues ParametricSurface.D1 ( double  u,
double  v 
)

Computes the point and derivative of parameter U on the surface.

Parameters
uthe parameter
vthe parameter v
Returns
the point and D1U, D1V. Empty if not C1
DerivativeValues ParametricSurface.D2 ( double  u,
double  v 
)

Computes the point and derivative of parameter U on the surface.

Parameters
uthe parameter
vthe parameter v
Returns
the point, the D1U, D1V, D2U, D2V, D2UV. Empty if not C2.
DerivativeValues ParametricSurface.D3 ( double  u,
double  v 
)

Computes the point and derivative of parameter U on the surface.

Parameters
uthe parameter
vthe parameter v
Returns
the point, the D1U, D1V, D2U, D2V, D2UV, D3U, D3V, D3UUV, D3UVV. Empty if not C3.
GVec ParametricSurface.DN ( double  u,
double  v,
int  nu,
int  nv 
)

The returned vector gives the value of the derivative for the order of derivation N.

Parameters
uthe parameter
vthe parameter v
nuthe order of derivation
nvthe order of derivation
Returns
the vector. Return zero if not CN or N < 1.
double ParametricSurface.FirstUParameter ( )

The first u parameter.

double ParametricSurface.FirstVParameter ( )

The first v parameter.

GVec ParametricSurface.GetNormal ( double  u,
double  v 
)

Computes the normal of parameter U and V on the surface.

Parameters
uthe parameter u
vthe parameter v
Returns
the normal.
EnumSurfaceType ParametricSurface.GetSurfaceType ( )

Get the surface type.
enum EnumSurfaceType:

Returns
the point.
GTrsf ParametricSurface.GetTransform ( )

Get the transform.

boolean ParametricSurface.Initialize ( TopoShape  topoShape)

Use TopoShape to initialize the geometry, must be surface.

Parameters
topoShapethe TopoShape
Returns
true if ok.
boolean ParametricSurface.IsUClosed ( )

Is Closed.

boolean ParametricSurface.IsUPeriodic ( )

Is Periodic.

boolean ParametricSurface.IsValidGeometry ( )

Test if valid.

boolean ParametricSurface.IsVClosed ( )

Is Closed.

boolean ParametricSurface.IsVPeriodic ( )

Is Periodic.

double ParametricSurface.LastUParameter ( )

The last u parameter.

double ParametricSurface.LastVParameter ( )

The last v parameter.

double ParametricSurface.Tolerance ( )

tolerance.

int ParametricSurface.UContinuity ( )

Continuity.
enum:
C0 = 0,
G1,
C1,
G2,
C2,
C3,
CN

double ParametricSurface.UPeriod ( )

The period.

GPnt ParametricSurface.Value ( double  u,
double  v 
)

Computes the point of parameter U and V on the surface.

Parameters
uthe parameter u
vthe parameter v
Returns
the point.
int ParametricSurface.VContinuity ( )

Continuity.
enum:
C0 = 0,
G1,
C1,
G2,
C2,
C3,
CN

double ParametricSurface.VPeriod ( )

The period.