Locate entities
locate_entity(entity, xpos = 0, ypos = 0, size = 1, angle = 0, ...)
entity | The entity to be placed |
---|---|
xpos | The horizontal location of the entity |
ypos | The vertical location of the entity |
size | Parameter controlling the size of the entity |
angle | Parameter controlling the orientation of the entity |
... | Other arguments are ignored |
A tibble with four columns: x, y, id and type
When a jasmine entity is created it is implicitly assumed to be located at the origin (xpos = 0, ypos = 0), to have size 1, and to have a horizontal orientation (angle = 0). The locate_entity function allows the entity to be transformed in simple ways: translation, dilation and rotations