|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrepIterator
Interface for Brep-iterator objects.
Field Summary | |
---|---|
static java.lang.String |
CONTEXT
Property: context to be traversed - for scene sorting ( int ). |
static java.lang.String |
PROJ_COORDS
Property: name of projected-coordinates attribute. |
static int |
SORT_ASCENDING
Sort order: less Z-value goes first. |
static int |
SORT_DESCENDING
Sort order: greater Z-value goes first. |
static java.lang.String |
SORT_ORDER
Property: sort order for depth-sorting ( int ). |
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
int |
left()
How many items remain in the set? |
int |
next()
Returns id of the next object. |
void |
reset()
Reset the iterator. |
int[] |
toArray(int[] pre)
Fills the provided array by all items (pre-allocated array could be null
or too small - in these cases new one will be created). |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Field Detail |
---|
static final java.lang.String SORT_ORDER
int
).
static final int SORT_ASCENDING
static final int SORT_DESCENDING
static final java.lang.String CONTEXT
int
).
static final java.lang.String PROJ_COORDS
Brep.COORD_PROJ
.
Method Detail |
---|
void reset()
int next()
Brep.NULL
if there is no next object available.int[] toArray(int[] pre)
null
or too small - in these cases new one will be created).
End of the data is marked using Brep.NULL
.
int left()
Brep.NULL
if not implemented.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |