OpendTect-6_4  6.4
parametriccurve.h
Go to the documentation of this file.
1 #ifndef parametriccurve_h
2 #define parametriccurve_h
3 
4 /*+
5 ________________________________________________________________________
6 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7 Author: A.H. Bril
8 Date: 23-10-1996
9 RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "geometrymod.h"
15 #include "geomelement.h"
16 
17 class Plane3;
18 
19 namespace Geometry
20 {
21 
33 {
34 public:
35  virtual Coord3 computePosition( float ) const = 0;
37  virtual Coord3 computeTangent( float ) const = 0;
43  virtual bool findClosestPosition( float& p, const Coord3&,
44  float eps=1e-2 ) const;
51  virtual bool findClosestIntersection( float& p, const Plane3&,
52  float eps=1e-2 ) const;
61  virtual bool isCircular() const { return false; }
64  void getPosIDs( TypeSet<GeomPosID>&, bool=true ) const;
66  Iterator* createIterator() const;
67  virtual bool insertPosition(GeomPosID,const Coord3&) = 0;
68  virtual StepInterval<int> parameterRange() const = 0;
69 };
70 
71 };
72 
73 #endif
#define mExpClass(module)
Definition: commondefs.h:160
virtual bool isCircular() const
Definition: parametriccurve.h:61
A curve that is defined by regularly sampled positions.
Definition: parametriccurve.h:32
A Plane3 is a plane in space, with the equation: Ax + By + Cz + D = 0.
Definition: trigonometry.h:484
od_int64 GeomPosID
Definition: geomelement.h:21
Definition: geomelement.h:28
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: geomelement.h:37
Definition: arraytesselator.h:21

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019