OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
EM::RandomLineByShiftGenerator Class Reference

Creates random line from another by shifting it. More...

Public Member Functions

 RandomLineByShiftGenerator (const Geometry::RandomLineSet &rls, float d=1, int s=0)
 
void generate (Geometry::RandomLineSet &, int linenr_in_inp_set=0) const
 , -1=left, 0=both, 1=right More...
 

Public Attributes

const Geometry::RandomLineSetrls_
 
float dist_
 
int side_
 

Protected Member Functions

void crLine (const Geometry::RandomLine &, bool, Geometry::RandomLineSet &) const
 
bool getShifted (Coord, Coord, Coord &, Coord &, bool) const
 
bool getIntersection (Coord, Coord, Coord, Coord, Coord &) const
 

Detailed Description

Creates random line from another by shifting it.

Constructor & Destructor Documentation

EM::RandomLineByShiftGenerator::RandomLineByShiftGenerator ( const Geometry::RandomLineSet rls,
float  d = 1,
int  s = 0 
)
inline

Member Function Documentation

void EM::RandomLineByShiftGenerator::crLine ( const Geometry::RandomLine ,
bool  ,
Geometry::RandomLineSet  
) const
protected
void EM::RandomLineByShiftGenerator::generate ( Geometry::RandomLineSet ,
int  linenr_in_inp_set = 0 
) const

, -1=left, 0=both, 1=right

bool EM::RandomLineByShiftGenerator::getIntersection ( Coord  ,
Coord  ,
Coord  ,
Coord  ,
Coord  
) const
protected
bool EM::RandomLineByShiftGenerator::getShifted ( Coord  ,
Coord  ,
Coord ,
Coord ,
bool   
) const
protected

Member Data Documentation

float EM::RandomLineByShiftGenerator::dist_
const Geometry::RandomLineSet& EM::RandomLineByShiftGenerator::rls_
int EM::RandomLineByShiftGenerator::side_

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