VTK  9.5.20251207
vtkDist2Tuple Class Reference

Represent a 2-tuple consisting of a VTK Id, and a distance**2 value. More...

#include <vtkLocatorInterface.h>

Public Member Functions

 vtkDist2Tuple ()
 
 vtkDist2Tuple (vtkIdType id, double d2)
 
bool operator< (const vtkDist2Tuple &tuple) const
 

Public Attributes

vtkIdType Id
 
double Dist2
 

Detailed Description

Represent a 2-tuple consisting of a VTK Id, and a distance**2 value.

vtkDist2Tuple is used to represent a distance of some entity specified by VTK Id (e.g., typically a point id) to another entity.

Definition at line 34 of file vtkLocatorInterface.h.

Constructor & Destructor Documentation

◆ vtkDist2Tuple() [1/2]

vtkDist2Tuple::vtkDist2Tuple ( )
inline

Definition at line 38 of file vtkLocatorInterface.h.

◆ vtkDist2Tuple() [2/2]

vtkDist2Tuple::vtkDist2Tuple ( vtkIdType id,
double d2 )
inline

Definition at line 43 of file vtkLocatorInterface.h.

Member Function Documentation

◆ operator<()

bool vtkDist2Tuple::operator< ( const vtkDist2Tuple & tuple) const
inline

Definition at line 50 of file vtkLocatorInterface.h.

Member Data Documentation

◆ Id

vtkIdType vtkDist2Tuple::Id

Definition at line 36 of file vtkLocatorInterface.h.

◆ Dist2

double vtkDist2Tuple::Dist2

Definition at line 37 of file vtkLocatorInterface.h.


The documentation for this class was generated from the following file: