draw_circle: Draws a circular point cloud (3D)

Description Usage Arguments Value Examples

Description

Draws a 2D circle on x- and y-plane around a center point in 3D space.

Usage

1
draw_circle(centerx, centery, centerz, radius, resolution = 30L)

Arguments

centerx

x axis value of circle center point

centery

y axis value of circle center point

centerz

z axis value of circle center point

radius

circle radius

resolution

amount of circle points (default = 30)

Value

data.frame with the spatial coordinates of the resulting points

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
draw_circle(
  centerx = 4,
  centery = 5,
  centerz = 1,
  radius = 3,
  resolution = 20
)

circ <- draw_circle(1,2,3,2)

plot(circ$x, circ$y)

recexcavAAR documentation built on May 1, 2019, 6:48 p.m.