OpenStructure
Public Member Functions
WithinParam Class Reference

#include <query_ast.hh>

Public Member Functions

 WithinParam (const geom::Vec3 &center, float radius)
 
 WithinParam (int ref, float radius)
 
 WithinParam ()
 
float GetRadiusSquare () const
 
bool operator== (const WithinParam &p) const
 
const geom::Vec3GetCenter () const
 
int GetRef () const
 
bool HasValidRef () const
 

Detailed Description

holds the right and left hand operand of a within statement. The lefthand operand is a distance in Angstrom, the righthand parameter may both be a lazily bound reference to a point cloud (that is only known at instantiation time) or a vector.

Definition at line 38 of file query_ast.hh.

Constructor & Destructor Documentation

◆ WithinParam() [1/3]

WithinParam ( const geom::Vec3 center,
float  radius 
)

◆ WithinParam() [2/3]

WithinParam ( int  ref,
float  radius 
)

◆ WithinParam() [3/3]

Member Function Documentation

◆ GetCenter()

const geom::Vec3& GetCenter ( ) const

◆ GetRadiusSquare()

float GetRadiusSquare ( ) const

◆ GetRef()

int GetRef ( ) const

◆ HasValidRef()

bool HasValidRef ( ) const

◆ operator==()

bool operator== ( const WithinParam p) const

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