SelectPoints: Selection of points from the coordinate plane

Description Usage Arguments Value Examples

View source: R/SelectPoints.R

Description

SelectPoints allows the selection of points from the coordinate plane

Usage

1

Arguments

n

Number of points to select from the current coordinate plane

Value

Returns a vector or matrix which contains the xy-coordinates of the selected points. Each row represents one of the points. If n = 1 the output is a numeric vector, if n = 2 then it is a Segment, and for n > 2 the object is a polygon.

Examples

1
2
n <- 3
points <- SelectPoints(n)

LearnGeom documentation built on July 14, 2020, 5:06 p.m.