r3v2line

r3v2line

Class

real/raytr/r3v2line.h

Library

r3raytr

Description:

Volume defined by 2D polygon line

See Also

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

Super Class

r3Frobject

R3CLID_FROBJECT

JavaScript

r3Vol2dline

Class Identifier

R3CLID_VOL2DLINE - 717

Methods

Attributes

Points, Count, Orientation, Closed,

Registration

int R3RegisterVolume2DLineClass(R3APP *app);

Points

Attribute

Points

Identifier

R3V2LA_Points

Type

r3Vect

Description

'R3V2LA_Points' not documented

Syntax


value = jsobj.GetPoints();


R3VECTOR* value;
R3GetAttrs(r3obj, R3V2LA_Points, &value, R3TAG_END);

Count

Attribute

Count

Identifier

R3V2LA_Count

JavaScript type

Integer

C type

int

Description

'R3V2LA_Count' not documented

Syntax


jsobj.SetCount(value);
value = jsobj.GetCount();


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

Orientation

Attribute

Orientation

Identifier

R3V2LA_Orientation

JavaScript type

Integer

C type

int

Description

see orientation codes below

Syntax


value = jsobj.GetOrientation();


int value;
R3GetAttrs(r3obj, R3V2LA_Orientation, &value, R3TAG_END);

Closed

Attribute

Closed

Identifier

R3V2LA_Closed

JavaScript type

Boolean

C type

R3BOOL

Description

if true then curve is closed by connecting start and end points

Syntax


jsobj.SetClosed(value);


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

R3V2LO_FINDNEAREST
R3V2LO_XY
R3V2LO_YZ
R3V2LO_XZ


r3appobj *