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

For a given triangulated geometry(set of points), interpolating any point located in or nearby the goemetry. If the point is located outside of the boundary of the geometry, we compare azimuth to find related points and then apply inverse distance to calculate weights. More...

Public Member Functions

 Triangle2DInterpolator (const DAGTriangleTree &)
 
bool computeWeights (const Coord &, TypeSet< int > &vertices, TypeSet< double > &weights, double maxdist=mUdf(double), bool dointerpolate=true)
 

Protected Member Functions

bool setFromAzimuth (const TypeSet< int > &tmpvertices, const Coord &, TypeSet< int > &vertices, TypeSet< double > &weights)
 

Protected Attributes

const DAGTriangleTreetriangles_
 
TypeSet< int > corner0_
 
TypeSet< double > cornerweights0_
 
TypeSet< int > corner1_
 
TypeSet< double > cornerweights1_
 
TypeSet< int > corner2_
 
TypeSet< double > cornerweights2_
 
Coord initcenter_
 
TypeSet< int > perimeter_
 
TypeSet< double > perimeterazimuth_
 

Detailed Description

For a given triangulated geometry(set of points), interpolating any point located in or nearby the goemetry. If the point is located outside of the boundary of the geometry, we compare azimuth to find related points and then apply inverse distance to calculate weights.

Constructor & Destructor Documentation

Triangle2DInterpolator::Triangle2DInterpolator ( const DAGTriangleTree )

Member Function Documentation

bool Triangle2DInterpolator::computeWeights ( const Coord ,
TypeSet< int > &  vertices,
TypeSet< double > &  weights,
double  maxdist = mUdf(double),
bool  dointerpolate = true 
)
bool Triangle2DInterpolator::setFromAzimuth ( const TypeSet< int > &  tmpvertices,
const Coord ,
TypeSet< int > &  vertices,
TypeSet< double > &  weights 
)
protected

Member Data Documentation

TypeSet<int> Triangle2DInterpolator::corner0_
protected
TypeSet<int> Triangle2DInterpolator::corner1_
protected
TypeSet<int> Triangle2DInterpolator::corner2_
protected
TypeSet<double> Triangle2DInterpolator::cornerweights0_
protected
TypeSet<double> Triangle2DInterpolator::cornerweights1_
protected
TypeSet<double> Triangle2DInterpolator::cornerweights2_
protected
Coord Triangle2DInterpolator::initcenter_
protected
TypeSet<int> Triangle2DInterpolator::perimeter_
protected
TypeSet<double> Triangle2DInterpolator::perimeterazimuth_
protected
const DAGTriangleTree& Triangle2DInterpolator::triangles_
protected

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