public class Line3
extends java.lang.Object
Constructor and Description |
---|
Line3() |
Line3(Vector3 start,
Vector3 end) |
Modifier and Type | Method and Description |
---|---|
Line3 |
apply(Matrix4 matrix) |
Vector3 |
at(double t) |
Vector3 |
at(double t,
Vector3 optionalTarget) |
Vector3 |
center() |
Vector3 |
center(Vector3 optionalTarget) |
Line3 |
clone() |
Vector3 |
closestPointToPoint(Vector3 point,
boolean clampToLine) |
Vector3 |
closestPointToPoint(Vector3 point,
boolean clampToLine,
Vector3 optionalTarget) |
double |
closestPointToPointParameter(Vector3 point) |
double |
closestPointToPointParameter(Vector3 point,
boolean clampToLine) |
Line3 |
copy(Line3 line) |
Vector3 |
delta() |
Vector3 |
delta(Vector3 optionalTarget) |
double |
distance() |
double |
distanceSq() |
boolean |
equals(Line3 line) |
Vector3 |
getEnd() |
Vector3 |
getStart() |
Line3 |
set(Vector3 start,
Vector3 end) |
void |
setEnd(Vector3 end) |
void |
setStart(Vector3 start) |
public Vector3 getStart()
public void setStart(Vector3 start)
public Vector3 getEnd()
public void setEnd(Vector3 end)
public Vector3 center()
public Vector3 delta()
public double distanceSq()
public double distance()
public Vector3 at(double t)
public double closestPointToPointParameter(Vector3 point)
public double closestPointToPointParameter(Vector3 point, boolean clampToLine)
public Vector3 closestPointToPoint(Vector3 point, boolean clampToLine, Vector3 optionalTarget)
public boolean equals(Line3 line)
public Line3 clone()
clone
in class java.lang.Object