ShapeContour
Constructors
Types
Functions
Recursively subdivides linear Segments to approximate Bézier curves.
Closes the path of the ShapeContour.
Returns specified amount of points of equal distance from each other.
Projects a point on the ShapeContour
Calculates the point at a given distance along this ShapeContour.
Returns a point on the path of the ShapeContour.
Samples the ShapeContour into equidistant linear Segments.
Adaptively samples the contour into a new ShapeContour of linearSegments while still approximating the original contour.
Samples a new ShapeContour from the current ShapeContour starting at t0 and ending at t1.
Estimates the t value for a given length.
Applies linear transformation to ShapeContour.
Properties
Returns the ShapeContour, but with a clockwise winding.
Returns the ShapeContour, but with a counterclockwise winding.
Returns true if ShapeContour doesn't contain any Segments.
Reverses the direction of Segments and their order.
Extensions
Returns true if given point lies inside the ShapeContour.
Applies a boolean difference operation between the ShapeContour and another Shape.
Applies a boolean intersection operation between the ShapeContour and a Shape.
Calculates a List of all intersections between the ShapeContour and a Segment.
Calculates a List of all intersections between the ShapeContour and another ShapeContour.
Calculates a List of all intersections between the ShapeContour and a Shape.
Offsets a ShapeContour's Segments by given distance.
Splits a ShapeContour with another ShapeContour.
Splits a ShapeContour with a List of ShapeContours.
Applies a boolean org.openrndr.shape.union operation between the ShapeContour and a Shape.