Skip to contents

Useful when shapes are aligned along the y-axis (e.g. because of a bilateral symmetry) and when one wants to retain just the lower side.

Usage

coo_left(coo, slidegap = FALSE)

Arguments

coo

matrix of (x; y) coordinates or any Coo object.

slidegap

logical whether to apply coo_slidegap after coo_left

Value

a matrix of (x; y) coordinates or a Coo object (Out are returned as Opn)

Note

When shapes are "sliced" along the y-axis, it usually results on open curves and thus to huge/artefactual gaps between points neighboring this axis. This is usually solved with coo_slidegap. See examples there.

Also, when apply a coo_left/right/up/down on an Out object, you then obtain an Opn object, which is done automatically.

Examples

b <- coo_center(bot[1])
coo_plot(b)
coo_draw(coo_left(b), border='red')