openrndr / org.openrndr.shape / ContourPoint

ContourPoint

data class ContourPoint (source)

representation of a point on a ShapeContour

Parameters

contour - the ShapeContour on which the point lies

contourT - the t-parameter value of the point on the ShapeContour

segment - the Segment on which the point lies

segmentT - the t-parameter value of the point on the Segment

position - the position of the point

Constructors

<init>

representation of a point on a ShapeContour

ContourPoint(contour: ShapeContour, contourT: Double, segment: Segment, segmentT: Double, position: Vector2)

Properties

contour

the ShapeContour on which the point lies

val contour: ShapeContour

contourT

the t-parameter value of the point on the ShapeContour

val contourT: Double

position

the position of the point

val position: Vector2

segment

the Segment on which the point lies

val segment: Segment

segmentT

the t-parameter value of the point on the Segment

val segmentT: Double