shape>> ( object -- value )


Vocabulary
accessors

Inputs and outputs
objectan object
valuean object


Definition

GENERIC: shape>> ( object -- value )


Methods







M: cpCircleShape shape>>
T{ struct-slot-spec
{ name "shape" }
{ offset 0 }
{ class cpShape }
{ initial
S{ cpShape
{ klass f }
{ body f }
{ bb
S{ cpBB
{ l 0.0 }
{ b 0.0 }
{ r 0.0 }
{ t 0.0 }
}
}
{ sensor 0 }
{ e 0.0 }
{ u 0.0 }
{ surface_v S{ cpVect { x 0.0 } { y 0.0 } } }
{ data f }
{ collision_type 0 }
{ group 0 }
{ layers 0 }
{ hashid 0 }
}
}
{ type cpShape }
} read-struct-slot ; inline



M: cpPolyShape shape>>
T{ struct-slot-spec
{ name "shape" }
{ offset 0 }
{ class cpShape }
{ initial
S{ cpShape
{ klass f }
{ body f }
{ bb
S{ cpBB
{ l 0.0 }
{ b 0.0 }
{ r 0.0 }
{ t 0.0 }
}
}
{ sensor 0 }
{ e 0.0 }
{ u 0.0 }
{ surface_v S{ cpVect { x 0.0 } { y 0.0 } } }
{ data f }
{ collision_type 0 }
{ group 0 }
{ layers 0 }
{ hashid 0 }
}
}
{ type cpShape }
} read-struct-slot ; inline






M: cpSegmentShape shape>>
T{ struct-slot-spec
{ name "shape" }
{ offset 0 }
{ class cpShape }
{ initial
S{ cpShape
{ klass f }
{ body f }
{ bb
S{ cpBB
{ l 0.0 }
{ b 0.0 }
{ r 0.0 }
{ t 0.0 }
}
}
{ sensor 0 }
{ e 0.0 }
{ u 0.0 }
{ surface_v S{ cpVect { x 0.0 } { y 0.0 } } }
{ data f }
{ collision_type 0 }
{ group 0 }
{ layers 0 }
{ hashid 0 }
}
}
{ type cpShape }
} read-struct-slot ; inline