Learn R Programming

multifluo (version 1.1)

interieur.para: interieur.para

Description

Detects if a point is inside a given paralellogram

Usage

interieur.para(x, y, xOrigine, yOrigine, xA, yA, xB = NA, yB = NA, shape = "para")

Arguments

x

abcisse of the point to test

y

ordinate of the point to test

xOrigine

abscisse of a summit of the parallelogram (origin)

yOrigine

ordinate of a summit of the parallelogram (origin)

xA

abscisse of a summit of the parallelogram linked to the origine

yA

ordinate of a summit of the parallelogram linked to the origine

xB

abscisse of the other summit of the parallelogram linked to the origine

yB

ordinate of the other summit of the parallelogram linked to the origine

shape

"para"