![]() |
OpendTect
7.0
|
A Line3 is a line in space, with the following equations: More...
Public Member Functions | |
| Line3 () | |
| Line3 (const Coord3 &, const Vector3 &) | |
| Line3 (double x0, double y0, double z0, double alpha, double beta, double gamma) | |
| double | closestPoint (const Coord3 &point) const |
| void | closestPoint (const Line3 &line, double &t_this, double &t_line) const |
| Vector3 | direction (bool normalize=true) const |
| double | distanceToPoint (const Coord3 &point) const |
| Coord3 | getPoint (double t) const |
| bool | intersectWith (const Plane3 &, double &t) const |
| double | sqDistanceToPoint (const Coord3 &point) const |
Public Attributes | |
| double | alpha_ |
| double | beta_ |
| double | gamma_ |
| double | x0_ |
| double | y0_ |
| double | z0_ |
A Line3 is a line in space, with the following equations:
x = x0 + alpha*t y = y0 + beta*t z = z0 + gamma*t
<>
| Line3::Line3 | ( | ) |
| Line3::Line3 | ( | double | x0, |
| double | y0, | ||
| double | z0, | ||
| double | alpha, | ||
| double | beta, | ||
| double | gamma | ||
| ) |
| double Line3::closestPoint | ( | const Coord3 & | point | ) | const |
| void Line3::closestPoint | ( | const Line3 & | line, |
| double & | t_this, | ||
| double & | t_line | ||
| ) | const |
|
inline |
| double Line3::distanceToPoint | ( | const Coord3 & | point | ) | const |
| Coord3 Line3::getPoint | ( | double | t | ) | const |
| bool Line3::intersectWith | ( | const Plane3 & | , |
| double & | t | ||
| ) | const |
Calculates the intersection between the line and the plane. If success, it sets t.
| double Line3::sqDistanceToPoint | ( | const Coord3 & | point | ) | const |
| double Line3::alpha_ |
| double Line3::beta_ |
| double Line3::gamma_ |
| double Line3::x0_ |
| double Line3::y0_ |
| double Line3::z0_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024