game.models.half-edge vocabulary
Factor handbook ยป Vocabulary index


Summary
Iterators for half-edge geometry structures

Metadata
Parents:game.models
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
edge identity-tupleface vertex opposite-edge next-edge


Ordinary words
WordStack effect
(collect)( in quot iterator -- out )
(count)( in iterator -- count )
(reduce)( in initial quot iterator -- accum )
each-face-edge( ... edge quot: ( ... edge -- ... ) -- ... )
each-vertex-edge( ... edge quot: ( ... edge -- ... ) -- ... )
edge-loop( ..a edge quot: ( ..a edge -- ..b ) next-edge-quot: ( ..b edge -- ..a edge' ) -- ..a )
edge-vertices( edge -- start end )
face-edges( edge -- edges )
face-neighbors( edge -- edges )
face-sides( edge -- count )
vertex-diagonals( edge -- edges )
vertex-edges( edge -- edges )
vertex-neighbors( edge -- edges )
vertex-valence( edge -- count )


Class predicate words
WordStack effect
edge?( object -- ? )


Files


Metadata files