G+Smo
24.08.0
Geometry + Simulation Modules
|
Represents a line segment in d dimensions.
Public Member Functions | |
gsLineSegment (const gsPoint< d, T > &point1, const gsPoint< d, T > &point2) | |
Constructs a line segment starting at point1 and ending at point2. | |
bool | intersectSegment (const gsPoint< d, T > &origin, const gsPoint< d, T > &end) |
Tells wheter line intersects segment. More... | |
Tells wheter line intersects segment.
This function returns true iff a line between origin and end is intersected by this line.
[in] | origin | |
[in] | end |