make_circle: Create a 2-d circular Boolean mask

View source: R/make_clusters.R

make_circleR Documentation

Create a 2-d circular Boolean mask

Description

Create a 2-d circular Boolean mask

Usage

make_circle(center, r, pts)

Arguments

center

Cartesian center of the blob specified as c(x, y).

r

Radius of the blob.

pts

Dataframe of Cartesian point coordinates to draw from.

Value

Boolean mask when applied forms a circle from a point cloud.


Henrik-Kowalkowski/rClustering documentation built on April 13, 2022, 11:32 p.m.