![]() |
OpendTect
6.3
|
A Line3 is a line in space, with the following equations: More...
Public Member Functions | |
| Line3 () | |
| Line3 (double x0, double y0, double z0, double alpha, double beta, double gamma) | |
| Line3 (const Coord3 &, const Coord3 &) | |
| bool | intersectWith (const Plane3 &, double &t) const |
| void | closestPointToLine (const Line3 &line, double &t_this, double &t_line) const |
Public Member Functions inherited from ParamLineBase< Coord3 > | |
| Coord3 | direction (bool normalized=true) const |
| Coord3 | getPoint (double t) const |
| Coord3 | start () const |
| Coord3 | stop () const |
| double | closestParam (const Coord3 &point) const |
| Coord3 | closestPoint (const Coord3 &) const |
| double | distanceToPoint (const Coord3 &) const |
| double | sqDistanceToPoint (const Coord3 &) const |
| bool | isOnLine (const Coord3 &pt) const |
Static Public Member Functions | |
| static Line3 | fromPosAndDir (const Coord3 &, const Vector3 &) |
Additional Inherited Members | |
Public Attributes inherited from ParamLineBase< Coord3 > | |
| Coord3 | p0_ |
| Coord3 | dir_ |
A Line3 is a line in space, with the following equations:
p(x,y,z) = p0 + dir * t
| Line3::Line3 | ( | ) |
| Line3::Line3 | ( | double | x0, |
| double | y0, | ||
| double | z0, | ||
| double | alpha, | ||
| double | beta, | ||
| double | gamma | ||
| ) |
| void Line3::closestPointToLine | ( | const Line3 & | line, |
| double & | t_this, | ||
| double & | t_line | ||
| ) | const |
| bool Line3::intersectWith | ( | const Plane3 & | , |
| double & | t | ||
| ) | const |
Calculates the intersection between the line and the plane. If success, it sets t.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017