Enumerations

NURBS Results

These results are returned when one is modifiying existing objects. More...

Enumerations

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

Detailed Description

These results are returned when one is modifiying existing objects.

See also:
Working With NURBS.

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.