openrndr / org.openrndr.shape / SegmentPoint

SegmentPoint

data class SegmentPoint (source)

representation of a point on a Segment

Parameters

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 Segment

SegmentPoint(segment: Segment, segmentT: Double, position: Vector2)

Properties

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