1 #ifndef geom2dintersections_h 2 #define geom2dintersections_h 15 #include "geometrymod.h" 18 #include "geometrymod.h" 22 namespace Survey {
class Geometry2D; }
63 : line(
id),mytrcnr(mynr),linetrcnr(linenr)
70 {
return mytrcnr == oth.mytrcnr; }
71 bool operator>(
const Point& oth)
const 72 {
return mytrcnr > oth.mytrcnr; }
73 bool operator<(
const Point& oth)
const 74 {
return mytrcnr < oth.mytrcnr; }
78 bool isOpposite(
const Point&)
const;
88 bool isEmpty()
const {
return points_.isEmpty(); }
89 int size()
const {
return points_.size(); }
92 getPoint(
int idx)
const {
return points_[idx]; }
94 bool getIntersectionTrcNrs(
Pos::GeomID,
int& mytrcnr,
95 int& crosstrcnr)
const;
134 bool doFinish(
bool success);
#define mExpClass(module)
Definition: commondefs.h:160
const Line2DInterSection::Point & getPoint(int idx) const
Definition: geom2dintersections.h:92
const TypeSet< Pos::GeomID > & geomids_
Definition: geom2dintersections.h:50
Definition: geom2dintersections.h:117
int size() const
Definition: geom2dintersections.h:89
ObjectSet< const Survey::Geometry2D > geoms_
Definition: geom2dintersections.h:129
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define od_int64
Definition: plftypes.h:36
int counter_
Definition: geom2dintersections.h:136
TypeSet< int > idxs_
Definition: geom2dintersections.h:30
Pos::GeomID geomID() const
Definition: geom2dintersections.h:87
Definition: uistring.h:89
Line2DInterSectionSet & lsintersections_
Definition: geom2dintersections.h:131
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
Pos::GeomID geomid_
Definition: geom2dintersections.h:29
int curidx_
Definition: geom2dintersections.h:52
Definition: vishorizonsectiondef.h:31
const ObjectSet< BendPoints > & bendptset_
Definition: geom2dintersections.h:130
ObjectSet< BendPoints > bendptset_
Definition: geom2dintersections.h:51
Index_Type GeomID
Definition: commontypes.h:52
bool isEmpty() const
Definition: geom2dintersections.h:88
TypeSet< Line2DInterSection::Point > points_
Definition: geom2dintersections.h:104
void sort(ObjectSet< T > &os)
Sort ObjectSet. Must have operator > defined for elements.
Definition: objectset.h:220
Threads::Lock lock_
Definition: geom2dintersections.h:135
Definition: geom2dintersections.h:56
Definition: survgeom.h:25
Definition: geom2dintersections.h:34
const ObjectSet< BendPoints > & bendPoints() const
Definition: geom2dintersections.h:44
Definition: geom2dintersections.h:108
Definition: geom2dintersections.h:24
Definition: arraytesselator.h:21
mExpStruct(Geometry) Point
Definition: geom2dintersections.h:60
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
Pos::GeomID geomid_
Definition: geom2dintersections.h:103