14 #ifndef PHYSXSEGMENT_H
15 #define PHYSXSEGMENT_H
33 void compute_direction(LPoint3f &dir)
const;
34 float compute_length()
const;
35 void compute_point(LPoint3f &p,
float t)
const;
36 float compute_square_length()
const;
37 LPoint3f get_origin()
const;
38 void set_origin_direction(
const LPoint3f &origin,
const LVector3f &direction);
40 LPoint3f get_p0()
const;
41 LPoint3f get_p1()
const;
43 void set_p0(LPoint3f p);
44 void set_p1(LPoint3f p);
Represents a line segment.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.