openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-shape
/
org.openrndr.shape
/
LineSegment3D
Line
Segment3D
@
Serializable
@
JvmRecord
data
class
LineSegment3D
(
val
start
:
Vector3
,
val
end
:
Vector3
)
(
source
)
Members
Constructors
Line
Segment3D
Link copied to clipboard
constructor
(
start
:
Vector3
,
end
:
Vector3
)
Functions
distance
Link copied to clipboard
fun
distance
(
query
:
Vector3
)
:
Double
nearest
Link copied to clipboard
fun
nearest
(
query
:
Vector3
)
:
Vector3
position
Link copied to clipboard
fun
position
(
t
:
Double
)
:
Vector3
split
Link copied to clipboard
fun
split
(
t
:
Double
)
:
Array
<
LineSegment3D
>
squared
Distance
Link copied to clipboard
fun
squaredDistance
(
query
:
Vector3
)
:
Double
sub
Link copied to clipboard
fun
sub
(
t0
:
Double
,
t1
:
Double
)
:
LineSegment3D
Properties
direction
Link copied to clipboard
val
direction
:
Vector3
end
Link copied to clipboard
val
end
:
Vector3
path
Link copied to clipboard
val
path
:
Path3D
start
Link copied to clipboard
val
start
:
Vector3