Segment3D

fun Segment3D(x0: Double, y0: Double, z0: Double, x1: Double, y1: Double, z1: Double): Segment3D(source)


fun Segment3D(start: Vector3, c0: Vector3, end: Vector3): Segment3D(source)

Quadratic bezier segment constructor

Parameters

start

starting point of the segment

c0

control point

end

end point of the segment


fun Segment3D(start: Vector3, c0: Vector3, c1: Vector3, end: Vector3): Segment3D(source)

Cubic bezier segment constructor

Parameters

start

starting point of the segment

c0

first control point

c1

second control point

end

end point of the segment