ShapeContour
Properties
Returns the ShapeContour, but with a clockwise winding.
the provided contour
Returns the ShapeContour, but with a counterclockwise winding.
Returns true if ShapeContour doesn't contain any Segment2Ds.
Opens the path of the ShapeContour.
Reverses the direction of Segment2Ds and their order.
Determines the winding order of the ShapeContour.
Functions
Recursively subdivides linear Segment2Ds to approximate Bézier curves.
Closes the path of the ShapeContour.
Returns true if given point lies inside the ShapeContour.
Applies a boolean difference operation between the ShapeContour and another Shape.
Returns specified amount of points of equal distance from each other.
Applies a boolean intersection operation between the ShapeContour and a Shape.
Calculates a List of all intersections between the ShapeContour and a Segment2D.
Calculates a List of all intersections between the ShapeContour and a Shape.
Calculates a List of all intersections between the ShapeContour and another ShapeContour.
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 Segment2Ds.
Adaptively samples the contour into a new ShapeContour of linear Segment2Ds while still approximating the original contour.
Splits a ShapeContour with a List of ShapeContours.
Splits a ShapeContour with another ShapeContour.
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.
Applies a boolean org.openrndr.shape.union operation between the ShapeContour and a Shape.