Skip to contents

Samples the Bezier curves of a VMobject to get a polygon approximation suitable for polyclip operations.

Usage

vmobject_to_polygon(vmobject, precision = 20)

Arguments

vmobject

A VMobject with points

precision

Samples per Bezier curve

Value

A list with components x and y (polyclip format)