NURBS Results

NURBS Results

Module description

These results are returned when one is modifiying existing objects.

See also
Working With NURBS.

Enumerations

enum  NURBSResult {
  kNOk, kNInvalidObject, kNInvalidId, kNInvalidParameter,
  kNBad
}
 

Enumeration Type Documentation

Enumerator
kNOk 

The function succeeded.

kNInvalidObject 

The specified object was invalid.

For example, if you use the SetSurfaceApprox() function and specify a non-NURBS object as input, you get this error.

kNInvalidId 

The specified ID was invalid.

For example, if you use the Transform() function and pass an invalid NURBSId, you get this error.

kNInvalidParameter 

A specified parameter was invalid.

For example, if you try to create a cone using GenNURBSConeSurface() with a radius <=0, you get this error.

kNBad 

The function failed.

This is a catch-all for any kind of unwanted result not covered above.

46  {
48  kNOk,
58 
59  kNBad
60 };
The function succeeded.
Definition: surf_api.h:48
The function failed.
Definition: surf_api.h:59
The specified ID was invalid.
Definition: surf_api.h:54
The specified object was invalid.
Definition: surf_api.h:51
A specified parameter was invalid.
Definition: surf_api.h:57