|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.math.collision.Segment
public class Segment
A Segment is a line in 3-space having a staring and an ending position.
Field Summary | |
---|---|
Vector3 |
a
the starting position |
Vector3 |
b
the ending position |
Constructor Summary | |
---|---|
Segment(float aX,
float aY,
float aZ,
float bX,
float bY,
float bZ)
Constructs a new Segment from the two points given. |
|
Segment(Vector3 a,
Vector3 b)
Constructs a new Segment from the two points given. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Vector3 a
public final Vector3 b
Constructor Detail |
---|
public Segment(Vector3 a, Vector3 b)
a
- the first pointb
- the second pointpublic Segment(float aX, float aY, float aZ, float bX, float bY, float bZ)
aX
- the x-coordinate of the first pointaY
- the y-coordinate of the first pointaZ
- the z-coordinate of the first pointbX
- the x-coordinate of the second pointbY
- the y-coordinate of the second pointbZ
- the z-coordinate of the second point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |