PgLseg

data class PgLseg(val p1: PgPoint, val p2: PgPoint)

Represents a finite line segment defined by its two endpoints.

Constructors

Link copied to clipboard
constructor(p1: PgPoint, p2: PgPoint)

Properties

Link copied to clipboard
val p1: PgPoint

The first endpoint of the segment.

Link copied to clipboard
val p2: PgPoint

The second endpoint of the segment.