OpendTect  6.3
parametriccurve.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6 Author: A.H. Bril
7 Date: 23-10-1996
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "geometrymod.h"
13 #include "geomelement.h"
14 
15 class Plane3;
16 
17 namespace Geometry
18 {
19 
31 {
32 public:
33  virtual Coord3 computePosition( float ) const = 0;
35  virtual Coord3 computeTangent( float ) const = 0;
41  virtual bool findClosestPosition( float& p, const Coord3&,
42  float eps=1e-2 ) const;
49  virtual bool findClosestIntersection( float& p, const Plane3&,
50  float eps=1e-2 ) const;
59  virtual bool isCircular() const { return false; }
62  void getPosIDs( TypeSet<GeomPosID>&, bool=true ) const;
64  Iterator* createIterator() const;
65  virtual bool insertPosition(GeomPosID,const Coord3&) = 0;
66  virtual StepInterval<int> parameterRange() const = 0;
67 };
68 
69 };
#define mExpClass(module)
Definition: commondefs.h:157
virtual bool isCircular() const
Definition: parametriccurve.h:59
A curve that is defined by regularly sampled positions.
Definition: parametriccurve.h:30
A Plane3 is a plane in space, with the equation: Ax + By + Cz + D = 0.
Definition: trigonometry.h:449
od_int64 GeomPosID
Definition: geomelement.h:19
3D point or vector
Definition: commontypes.h:57
Definition: geomelement.h:26
Definition: geomelement.h:35
Definition: arraytesselator.h:19

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