OpendTect-6_4
6.4
|
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 > &) | |
void | setLine (const Geom::Point2D< T > &start, const Geom::Point2D< T > &stop) |
bool | isIntersecting () const |
bool | isStartChanged () const |
bool | isStopChanged () const |
const Geom::Point2D< T > & | getStart () const |
const Geom::Point2D< T > & | getStop () const |
Protected Member Functions | |
const T | castDouble2T (double) const |
Protected Attributes | |
bool | isintersecting_ |
bool | startchanged_ |
bool | stopchanged_ |
Geom::Point2D< T > | start_ |
Geom::Point2D< T > | stop_ |
Geom::Rectangle< T > | rect_ |
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. 2019