LineSegment3D

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

Constructors

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

Functions

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

Properties

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