AreaObject: Definition of an area object used in designating area...

View source: R/navr-areas.R

AreaObjectR Documentation

Definition of an area object used in designating area presence

Description

Definition of an area object used in designating area presence

Usage

AreaObject(name, type = "rectangle", points = c())

Arguments

name

character. Name of the area

type

character. defining what type of area. Currently supported is: "rectangle"

points

numeric matrix (npoints, 2) with each row representing a single point and columns representing X and Y positions

Examples

## Not run: 
AreaObject("main square", "rectangle", matrix(c(0, 0, 1, 0, 1, 1, 0, 1), ncol=2, byrow=TRUE))

## End(Not run)

hejtmy/navr documentation built on March 3, 2023, 5:24 p.m.