LineSegment3D

data class LineSegment3D(val start: Vector3, val end: Vector3)

Constructors

Link copied to clipboard
fun LineSegment3D(    x0: Double,     y0: Double,     z0: Double,     x1: Double,     y1: Double,     z1: Double)
Link copied to clipboard
fun LineSegment3D(start: Vector3, end: Vector3)

Functions

Link copied to clipboard
fun distance(query: Vector3): Double
Link copied to clipboard
fun nearest(query: Vector3): Vector3
Link copied to clipboard
fun position(t: Double): Vector3
Link copied to clipboard
fun split(t: Double): Array<LineSegment3D>
Link copied to clipboard
fun squaredDistance(query: Vector3): Double
Link copied to clipboard
fun sub(t0: Double, t1: Double): LineSegment3D

Properties

Link copied to clipboard
val direction: Vector3
Link copied to clipboard
val end: Vector3
Link copied to clipboard
val path: Path3D
Link copied to clipboard
val start: Vector3

Sources

Link copied to clipboard