![]() | ![]() | ![]() | check-instance-locators | ![]() |
|
| [Function] |
Purpose
Signal an error if the locators on any space-instance are
inconsistent with the dimension values of the supplied
unit instance.
Package :gbbopen
Module :gbbopen-core
Arguments and values
| unit-instance | A unit instance |
Description
Changes to slot values that affect a unit instance's
dimension values must be indicated to GBBopen using the
See also
with-changing-dimension-values
Examples
Check the locators of all unit instances that are stored on any
space instance:
> (map-instances-on-space-instances #'check-instance-locators t t) nil >Intentionally create inconsistent locators for a
hyp
unit instance by changing its location without using
> (defparameter *hyp* (find-instance-by-name 419 'hyp))
*hyp*
> *hyp*
#<hyp 419 (1835 4791) 0.85 [5..35]>
>(check-instance-locators *hyp*)
nil
> (setf (location-of *hyp*) '(2000 2000))
(2000 2000)
> (check-instance-locators *hyp*)
Error: Instance #<hyp 419 (2000 2000) 0.85 [5..35]> is missing (bucket [21,21])
in #<2d-Uniform-Buckets (bb hyps) (hyp+) (x y) 8>
>>
The GBBopen Project
![]() | ![]() | ![]() | check-instance-locators | ![]() |