Inheritance Graph
graph BT
_Segment
_Segment --> _LineBase
click _Segment "classGeometry_1_1__Segment"
click _LineBase "classGeometry_1_1__LineBase"
Description
Segment defined by two pointsfromPointandtoPoint. Points p on the segment fulfill the equation p =fromPoint+**(toPoint-fromPoint).normalize * t for values of t in the interval [0, (toPoint-fromPoint).length].
Note: the direction vector is automatically normalized in the constructor.
Public Functions
Documentation
function
Geometry::_Segment::_Segment
|
|
|
|
|
|
_Segment( |
const vec_t & |
fromPoint, |
|
const vec_t & |
toPoint |
) |
|
|
Defined in Geometry/Line.h:321
function
Geometry::_Segment::_Segment
Defined in Geometry/Line.h:328
function
Geometry::_Segment::length
Defined in Geometry/Line.h:330
function
Geometry::_Segment::getFirstPoint
Defined in Geometry/Line.h:334
function
Geometry::_Segment::getSecondPoint
Defined in Geometry/Line.h:337
function
Geometry::_Segment::setFirstPoint
Defined in Geometry/Line.h:341
function
Geometry::_Segment::setSecondPoint
Defined in Geometry/Line.h:344