Squeak Class Documentation category index | class index  
 
PoohTriangle
  category: Balloon3D-Pooh
  superclass: Object
  subclasses:

| faces points |
points _ (0 to: 35) collect:[:i|
(B3DRotation angle: i*5 axis: 0@0@1) asMatrix4x4 localPointToGlobal: (20@0@0)].
points _ points collect:[:v3| v3 x @ v3 y].
points _ {300@196. 299@205. 297@210. 296@212}.
faces _ PoohTriangle basicNew elevateFan: points to: 246@158@74 steps: 8.
faces _ B3DSimpleMesh withAll: faces.
(B3DSceneExplorerMorph new openInWorld) scene withGeometry: faces asIndexedMesh.

instance methods
  accessing
  center
e1
e1:e2:e3:
e2
e3
flags
flags:
next
next:

  elevation
  elevateConnect:with:into:
elevateFan:to:steps:
elevateFrom:to:steps:
elevateJunction:
elevateJunctionEdge:height:steps:
elevateSleeve:
elevateSpine:
elevateTerminal:
elevationHeight

  enumeration
  do:
validFacesDo:

  spine
  buildTerminalFan
oppositeSpineEdgeOf:
recomputeType

  testing
  isJunction
isJunction:
isSleeve
isSleeve:
isTerminal
isTerminal:
isValid
isValid:

class methods
  no messages
 

instance methods
  accessing top  
 

center


 

e1


 

e1:e2:e3:


 

e2


 

e3


 

flags


 

flags:


 

next


 

next:


  elevation top  
 

elevateConnect:with:into:


 

elevateFan:to:steps:

Elevate the given edge of a junction


 

elevateFrom:to:steps:


 

elevateJunction:


 

elevateJunctionEdge:height:steps:

Elevate the given edge of a junction


 

elevateSleeve:


 

elevateSpine:

Elevate the receiver's spine


 

elevateTerminal:


 

elevationHeight

Compute the elevation height of the receiver


  enumeration top  
 

do:


 

validFacesDo:


  spine top  
 

buildTerminalFan


 

oppositeSpineEdgeOf:


 

recomputeType


  testing top  
 

isJunction


 

isJunction:


 

isSleeve


 

isSleeve:


 

isTerminal


 

isTerminal:


 

isValid


 

isValid:


class methods
  no messages top