LineSeg

object LineSeg

Companion object for the LineSeg class. Contains factory apply methods and implicit instances for LineSegs.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

@inline
def apply(pStart: Pt2, pEnd: Pt2): LineSeg

Factory apply method for LineSeg.

Factory apply method for LineSeg.

@inline
def apply(xStart: Double, yStart: Double, xEnd: Double, yEnd: Double): LineSeg
def horr(y: Double, xStart: Double, yEnd: Double): LineSeg

Creates a horizontal LineSeg.

Creates a horizontal LineSeg.

@inline
def vert(x: Double, yStart: Double, yEnd: Double): LineSeg

Creates a vertical LineSeg.

Creates a vertical LineSeg.

Implicits