OpendTect
6.6
|
Clips a line between two points by a rectangle. The line may be completely outside, completely inside or partially inside. If partially inside, new endpoints are calculated. More...
Public Member Functions | |
LineRectangleClipper (const Geom::Rectangle< T > &) | |
const Geom::Point2D< T > & | getStart () const |
const Geom::Point2D< T > & | getStop () const |
bool | isIntersecting () const |
bool | isStartChanged () const |
bool | isStopChanged () const |
void | setLine (const Geom::Point2D< T > &start, const Geom::Point2D< T > &stop) |
Protected Member Functions | |
const T | castDouble2T (double) const |
Protected Attributes | |
bool | isintersecting_ |
Geom::Rectangle< T > | rect_ |
Geom::Point2D< T > | start_ |
bool | startchanged_ |
Geom::Point2D< T > | stop_ |
bool | stopchanged_ |
Clips a line between two points by a rectangle. The line may be completely outside, completely inside or partially inside. If partially inside, new endpoints are calculated.
<>
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022