OpendTect  7.0
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

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

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::Triangle2DInterpolator ( const DAGTriangleTree )

Member Function Documentation

◆ computeWeights()

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

◆ setFromAzimuth()

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

Member Data Documentation

◆ corner0_

TypeSet<int> Triangle2DInterpolator::corner0_
protected

◆ corner1_

TypeSet<int> Triangle2DInterpolator::corner1_
protected

◆ corner2_

TypeSet<int> Triangle2DInterpolator::corner2_
protected

◆ cornerweights0_

TypeSet<double> Triangle2DInterpolator::cornerweights0_
protected

◆ cornerweights1_

TypeSet<double> Triangle2DInterpolator::cornerweights1_
protected

◆ cornerweights2_

TypeSet<double> Triangle2DInterpolator::cornerweights2_
protected

◆ initcenter_

Coord Triangle2DInterpolator::initcenter_
protected

◆ perimeter_

TypeSet<int> Triangle2DInterpolator::perimeter_
protected

◆ perimeterazimuth_

TypeSet<double> Triangle2DInterpolator::perimeterazimuth_
protected

◆ triangles_

const DAGTriangleTree& Triangle2DInterpolator::triangles_
protected

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