r3v2nurb

r3v2nurb

Class

real/raytr/r3v2nurb.h

Library

r3raytr

Description:

Volume defined by 2D Nurbs curve

See Also

real/raytr/r3frobj.h oops/r3vect.h

Super Class

r3Frobject

R3CLID_FROBJECT

JavaScript

r3Vol2dnurbs

Class Identifier

R3CLID_VOL2DNURBS - 119

Methods

Attributes

Subdiv, Order, OptimizeForUnitSquare, Closed,

Registration

int R3RegisterVolume2DNurbsClass(R3APP *app);

Subdiv

Attribute

Subdiv

Identifier

R3V2NA_Subdiv

JavaScript type

Integer

C type

int

Description

curve subdivision depth

Syntax


jsobj.SetSubdiv(value);
value = jsobj.GetSubdiv();


int value = ...;
R3SetAttrs(r3obj, R3V2NA_Subdiv, value, R3TAG_END);
int value;
R3GetAttrs(r3obj, R3V2NA_Subdiv, &value, R3TAG_END);

Order

Attribute

Order

Identifier

R3V2NA_Order

JavaScript type

Integer

C type

int

Description

'R3V2NA_Order' not documented

Syntax


jsobj.SetOrder(value);
value = jsobj.GetOrder();


int value = ...;
R3SetAttrs(r3obj, R3V2NA_Order, value, R3TAG_END);
int value;
R3GetAttrs(r3obj, R3V2NA_Order, &value, R3TAG_END);

OptimizeForUnitSquare

Attribute

OptimizeForUnitSquare

Identifier

R3V2NA_OptimizeForUnitSquare

JavaScript type

Boolean

C type

R3BOOL

Description

if TRUE all parts outside 0..1 range are ignored

Syntax


jsobj.SetOptimizeForUnitSquare(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3V2NA_OptimizeForUnitSquare, value, R3TAG_END);

Closed

Attribute

Closed

Identifier

R3V2NA_Closed

JavaScript type

Boolean

C type

R3BOOL

Description

true if original points make a closed loop. Write only.

Syntax


jsobj.SetClosed(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3V2NA_Closed, value, R3TAG_END);

R3V2NURB_MAXORDER