1 #define EZC3D_API_EXPORTS    28     std::cout << 
" Position = [" << x() << 
", " << y() << 
", " << z() << 
"]; Residual = " << residual() << std::endl;
    33     f.write(reinterpret_cast<const char*>(&_data[0]), ezc3d::DATA_TYPE::FLOAT);
    34     f.write(reinterpret_cast<const char*>(&_data[1]), ezc3d::DATA_TYPE::FLOAT);
    35     f.write(reinterpret_cast<const char*>(&_data[2]), ezc3d::DATA_TYPE::FLOAT);
    36     f.write(reinterpret_cast<const char*>(&_data[3]), ezc3d::DATA_TYPE::FLOAT);
    91     if (static_cast<double>(x()) == 0.0 &&
    92             static_cast<double>(y()) == 0.0 &&
    93             static_cast<double>(z()) == 0.0 &&
    94             static_cast<double>(residual()) == 0.0)
 
const std::vector< float > data() const
Get a reference to the STL vector where the 3D point is store. 
Declaration of Point class. 
std::vector< float > _data
Value of the point. 
float y() const
Get the Y component of the 3D point. 
void print() const
Print the point. 
float residual() const
Get the residual component of the 3D point. 
float z() const
Get the Z component of the 3D point. 
Point()
Create an empty 3D point with memory allocated but not filled. 
std::vector< float > data_nonConst()
Get a reference to the STL vector where the 3D point is store in order to be modified by the caller...
void write(std::fstream &f) const
Write the point to an opened file. 
float x() const
Get the X component of the 3D point. 
bool isempty() const
Return if the point is empty.