locate_entity: Locate entities

Description Usage Arguments Details Value

View source: R/entities.R

Description

Locate entities

Usage

1
locate_entity(entity, xpos = 0, ypos = 0, size = 1, angle = 0, ...)

Arguments

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

Details

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

Value

A tibble with four columns: x, y, id and type


djnavarro/jasmines documentation built on April 12, 2021, 4:25 a.m.