Line

data class Line(    val begin: Vector2d,     val dir: Vector2d,     val length: Double) : PositionPath<Arclength>

Line beginning at position begin, pointed in direction dir, and having length length.

Parameters

dir

unit vector

Constructors

Link copied to clipboard
fun Line(begin: Vector2d, end: Vector2d)

Makes line connecting begin to end.

Link copied to clipboard
fun Line(    begin: Vector2d,     dir: Vector2d,     length: Double)

Functions

Link copied to clipboard
open fun begin(n: Int): Vector2dDual<Arclength>
Link copied to clipboard
open fun end(n: Int): Vector2dDual<Arclength>
Link copied to clipboard
open operator override fun get(param: Double, n: Int): Vector2dDual<Arclength>
Link copied to clipboard
open override fun length(): Double

Properties

Link copied to clipboard
val begin: Vector2d
Link copied to clipboard
val dir: Vector2d
Link copied to clipboard
val length: Double