OpendTect  6.3
faulthorintersect.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: Yuancheng Liu
7 Date: March 2010
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "geometrymod.h"
13 #include "gendefs.h"
14 
15 class Coord3List;
16 
17 namespace Geometry
18 {
19 
20 class BinIDSurface;
21 class IndexedShape;
22 class ExplFaultStickSurface;
23 
24 
26 {
27 public:
28  FaultBinIDSurfaceIntersector(float horshift,
29  const BinIDSurface&,
30  const ExplFaultStickSurface&,
31  Coord3List&);
33 
34  void compute();
35 
36  //The shape is optional, if not set, we still
37  //compute intersections, stored in crdlist_
38  void setShape(const IndexedShape&);
39  const IndexedShape* getShape(bool takeover=true);
40 
41 protected:
42 
43  float zshift_;
48 
49 private:
50  void sortPointsToLine(TypeSet<Coord3>&,
52  const Coord3 findNearestPoint(const Coord3&,
54  bool findMin(TypeSet<Coord3>&,int&,bool);
55  int optimizeOrder(TypeSet<Coord3>&);
56 
57 };
58 
59 
60 };
#define mExpClass(module)
Definition: commondefs.h:157
Definition: indexedshape.h:180
Interface for a list of Coord3 with automatically maintained IDs.
Definition: positionlist.h:70
Coord3List & crdlist_
Definition: faulthorintersect.h:44
Definition: faulthorintersect.h:25
const BinIDSurface & surf_
Definition: faulthorintersect.h:45
const ExplFaultStickSurface & eshape_
Definition: faulthorintersect.h:47
3D point or vector
Definition: commontypes.h:57
Set of (small) copyable elements.
Definition: commontypes.h:26
float zshift_
Definition: faulthorintersect.h:43
~FaultBinIDSurfaceIntersector()
Definition: faulthorintersect.h:32
Definition: binidsurface.h:25
Definition: explfaultsticksurface.h:35
const IndexedShape * output_
Definition: faulthorintersect.h:46
Definition: arraytesselator.h:19

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