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 Anstrom, 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 34 of file query_ast.hh.


Constructor & Destructor Documentation

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

Member Function Documentation

const geom::Vec3& GetCenter ( ) const
float GetRadiusSquare ( ) const
int GetRef ( ) const
bool HasValidRef ( ) const
bool operator== ( const WithinParam p) const

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