OpendTect
6.6
|
Defines a 2D coordinate system on a 3D plane and transforms between the 3D space and the coordinate system. More...
Public Member Functions | |
Plane3CoordSystem (const Coord3 &normal, const Coord3 &origin, const Coord3 &pt10) | |
virtual | ~Plane3CoordSystem () |
bool | isOK () const |
const Plane3 & | plane () const |
Coord3 | transform (const Coord &) const |
Coord | transform (const Coord3 &, bool project) const |
Protected Attributes | |
bool | isok_ |
const Coord3 | origin_ |
const Plane3 | plane_ |
Coord3 | vec01_ |
Coord3 | vec10_ |
Defines a 2D coordinate system on a 3D plane and transforms between the 3D space and the coordinate system.
<>
Plane3CoordSystem::Plane3CoordSystem | ( | const Coord3 & | normal, |
const Coord3 & | origin, | ||
const Coord3 & | pt10 | ||
) |
normal | The normal of the plane |
origin | A point on the plane |
pt10 | A point on the plane, not identical to origin. |
|
inlinevirtual |
bool Plane3CoordSystem::isOK | ( | ) | const |
|
inline |
project | should be true if the coord is not located on the plane. If true, the point will be projected onto the plane. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022