13 #include "geometrymod.h" 16 #include "geometrymod.h" 20 namespace Survey {
class Geometry2D; }
61 : line(id),mytrcnr(mynr),linetrcnr(linenr) {}
64 {
return mytrcnr == oth.
mytrcnr; }
66 {
return mytrcnr > oth.
mytrcnr; }
68 {
return mytrcnr < oth.
mytrcnr; }
79 bool isEmpty()
const {
return points_.isEmpty(); }
80 int size()
const {
return points_.size(); }
83 getPoint(
int idx)
const {
return points_[idx]; }
85 bool getIntersectionTrcNrs(
Pos::GeomID,
int& mytrcnr,
86 int& crosstrcnr)
const;
103 const Line2DInterSection* getByGeomID(
Pos::GeomID)
const;
125 bool doFinish(
bool success);
#define mExpClass(module)
Definition: commondefs.h:157
const Line2DInterSection::Point & getPoint(int idx) const
Definition: geom2dintersections.h:83
const TypeSet< Pos::GeomID > & geomids_
Definition: geom2dintersections.h:48
Definition: geom2dintersections.h:58
Definition: geom2dintersections.h:108
int size() const
Definition: geom2dintersections.h:80
ObjectSet< const Survey::Geometry2D > geoms_
Definition: geom2dintersections.h:120
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:51
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
#define od_int64
Definition: plftypes.h:34
int linetrcnr
Definition: geom2dintersections.h:72
bool operator>(const Point &oth) const
Definition: geom2dintersections.h:65
TypeSet< int > idxs_
Definition: geom2dintersections.h:28
Pos::GeomID geomID() const
Definition: geom2dintersections.h:78
Definition: uistring.h:88
Line2DInterSectionSet & lsintersections_
Definition: geom2dintersections.h:122
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:64
Point(Pos::GeomID id, int mynr, int linenr)
Definition: geom2dintersections.h:60
Pos::GeomID geomid_
Definition: geom2dintersections.h:27
int curidx_
Definition: geom2dintersections.h:50
Line2DInterSection(Pos::GeomID geomid)
Definition: geom2dintersections.h:75
void message(const char *)
default: to stderr
const ObjectSet< BendPoints > & bendptset_
Definition: geom2dintersections.h:121
ObjectSet< BendPoints > bendptset_
Definition: geom2dintersections.h:49
bool operator<(const Point &oth) const
Definition: geom2dintersections.h:67
int mytrcnr
Definition: geom2dintersections.h:71
bool operator==(const Point &oth) const
Definition: geom2dintersections.h:63
Index_Type GeomID
Definition: commontypes.h:48
bool isEmpty() const
Definition: geom2dintersections.h:79
TypeSet< Line2DInterSection::Point > points_
Definition: geom2dintersections.h:95
void sort(ObjectSet< T > &os)
Sort ObjectSet. Must have operator > defined for elements.
Definition: objectset.h:224
Threads::Lock lock_
Definition: geom2dintersections.h:126
Definition: geom2dintersections.h:54
Definition: survgeom.h:28
Definition: geom2dintersections.h:32
const ObjectSet< BendPoints > & bendPoints() const
Definition: geom2dintersections.h:42
Definition: geom2dintersections.h:99
Pos::GeomID line
Definition: geom2dintersections.h:70
Definition: geom2dintersections.h:22
Definition: arraytesselator.h:19
Specification to enable chunkwise execution of a process.
Definition: executor.h:38
Pos::GeomID geomid_
Definition: geom2dintersections.h:94