Handbook
Glossary
shape>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
shape>>
( object -- value )
Methods
USING:
accessors
arrays.shaped
slots.private
;
M:
abnormal-shape
shape>>
2
slot
;
inline
USING:
accessors
arrays.shaped
slots.private
;
M:
block-array
shape>>
3
slot
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
classes.struct.private
;
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
USING:
accessors
chipmunk.ffi
classes.struct
classes.struct.private
;
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
USING:
accessors
alien
alien.syntax
chipmunk.ffi
classes.struct
classes.struct.private
;
M:
cpSegmentQueryInfo
shape>>
T{
struct-slot-spec
{
name
"shape"
}
{
offset 0
}
{
class
c-ptr
}
{
type
pointer:
cpShape
}
}
read-struct-slot
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
classes.struct.private
;
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
USING:
accessors
random
slots.private
;
M:
inv-gamma-distribution
shape>>
2
slot
;
inline
USING:
accessors
arrays.shaped
slots.private
;
M:
no-abnormally-shaped-arrays
shape>>
3
slot
;
inline
USING:
accessors
arrays.shaped
slots.private
;
M:
no-negative-shape-components
shape>>
2
slot
;
inline
USING:
accessors
graphviz.attributes
slots.private
;
M:
node-attributes
shape>>
31
slot
;
inline
USING:
accessors
slots.private
tensors
;
M:
non-positive-shape-error
shape>>
2
slot
;
inline
USING:
accessors
shapefiles.private
slots.private
;
M:
record
shape>>
4
slot
;
inline
USING:
accessors
arrays.shaped
slots.private
;
M:
shaped-array
shape>>
3
slot
;
inline
USING:
accessors
arrays.shaped
slots.private
;
M:
shaped-bounds-error
shape>>
3
slot
;
inline
USING:
accessors
arrays
kernel.private
slots.private
tensors
;
M:
tensor
shape>>
2
slot
{
array
}
declare
;
inline
USING:
accessors
arrays.shaped
slots.private
;
M:
underlying-shape-mismatch
shape>>
3
slot
;
inline
USING:
accessors
arrays.shaped
slots.private
;
M:
uniform-shape
shape>>
2
slot
;
inline