getCenter

fun getCenter(target: Vector3): Vector3

Writes the center of the line segment into target.

Return

target.