get_shape_vertices: Get Shape Vertices

View source: R/splot-polygons.R

get_shape_verticesR Documentation

Get Shape Vertices

Description

Dispatch function to get vertices for any supported shape.

Usage

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

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.

Value

List with x, y vectors of vertices.


cograph documentation built on April 1, 2026, 1:07 a.m.