Learn R Programming

cograph (version 1.5.2)

get_shape_vertices: Get Shape Vertices

Description

Dispatch function to get vertices for any supported shape.

Usage

get_shape_vertices(shape, x, y, r, r2 = NULL, ...)

Value

List with x, y vectors of vertices.

Arguments

shape

Shape name.

x

Center x coordinate.

y

Center y coordinate.

r

Radius/size.

r2

Secondary radius (for ellipse, rectangle).

...

Additional shape-specific parameters.