OpendTect
7.0
|
A Plane3 is a plane in space, with the equation: Ax + By + Cz + D = 0. More...
Public Member Functions | |
Plane3 () | |
Plane3 (const Coord3 &, const Coord3 &, const Coord3 &) | |
Plane3 (const Coord3 &vec1, const Coord3 &, bool twovectors) | |
Plane3 (const TypeSet< Coord3 > &) | |
Plane3 (double, double, double, double) | |
double | distanceToPoint (const Coord3 &, bool wichside=false) const |
Coord3 | getProjection (const Coord3 &pos) |
bool | intersectWith (const Line3 &, Coord3 &) const |
bool | intersectWith (const Plane3 &, Line3 &) const |
Coord3 | normal () const |
bool | onSameSide (const Coord3 &p1, const Coord3 &p2) |
bool | operator!= (const Plane3 &) const |
bool | operator== (const Plane3 &) const |
void | set (const Coord3 &, const Coord3 &, const Coord3 &) |
void | set (const Coord3 &vec1, const Coord3 &, bool twovectors) |
float | set (const TypeSet< Coord3 > &) |
Public Attributes | |
double | A_ |
double | B_ |
double | C_ |
double | D_ |
A Plane3 is a plane in space, with the equation: Ax + By + Cz + D = 0.
<>
Plane3::Plane3 | ( | ) |
Plane3::Plane3 | ( | double | , |
double | , | ||
double | , | ||
double | |||
) |
vec1 | First vector |
twovectors | Specifies if the second argument is a vector or a position |
double Plane3::distanceToPoint | ( | const Coord3 & | , |
bool | wichside = false |
||
) | const |
wichside | if true, the distance along the normal will be returned, wich can be negative. |
Returns true if the plane intersects with the line. If it returns true, the Coord3 is set
Returns true if the planes intersects. If it returns true, the Line3 is set
|
inline |
Check p1, p2 are on the same side of the plane or not, will return true if one is on the plane.
bool Plane3::operator!= | ( | const Plane3 & | ) | const |
bool Plane3::operator== | ( | const Plane3 & | ) | const |
vec1 | First vector |
twovectors | Specifies if the second argument is a vector or a position |
double Plane3::A_ |
double Plane3::B_ |
double Plane3::C_ |
double Plane3::D_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024