draw_circle {recexcavAAR}R Documentation

Draws a circular point cloud (3D)

Description

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

Usage

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

draw_circle(
  centerx = 4,
  centery = 5,
  centerz = 1,
  radius = 3,
  resolution = 20
)

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

plot(circ$x, circ$y)


[Package recexcavAAR version 0.3.0 Index]