Public Member Functions | Private Attributes | List of all members
ObjectPoint Class Reference

#include <ObjectPoint.h>

Public Member Functions

double calcDistance (ObjectPoint p)
 
int getSetId () const
 
double getX () const
 
double getY () const
 
double getZ () const
 
 ObjectPoint ()
 
 ObjectPoint (double x, double y, double z, int setId)
 
void setSetId (int setId)
 
void setX (double x)
 
void setY (double y)
 
void setZ (double z)
 
void updatePoint (const double x, const double y, const double z)
 
virtual ~ObjectPoint ()
 

Private Attributes

int SetId
 
double X
 
double Y
 
double Z
 

Detailed Description

Copyright (c) 2016, Borella Jocelyn, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 24 of file ObjectPoint.h.

Constructor & Destructor Documentation

ObjectPoint::ObjectPoint ( )

Copyright (c) 2016, Borella Jocelyn, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 20 of file ObjectPoint.cpp.

ObjectPoint::ObjectPoint ( double  x,
double  y,
double  z,
int  setId 
)

Definition at line 25 of file ObjectPoint.cpp.

ObjectPoint::~ObjectPoint ( )
virtual

Definition at line 30 of file ObjectPoint.cpp.

Member Function Documentation

double ObjectPoint::calcDistance ( ObjectPoint  p)

Definition at line 35 of file ObjectPoint.cpp.

int ObjectPoint::getSetId ( ) const
inline

Definition at line 38 of file ObjectPoint.h.

double ObjectPoint::getX ( ) const
inline

Definition at line 35 of file ObjectPoint.h.

double ObjectPoint::getY ( ) const
inline

Definition at line 36 of file ObjectPoint.h.

double ObjectPoint::getZ ( ) const
inline

Definition at line 37 of file ObjectPoint.h.

void ObjectPoint::setSetId ( int  setId)
inline

Definition at line 43 of file ObjectPoint.h.

void ObjectPoint::setX ( double  x)
inline

Definition at line 40 of file ObjectPoint.h.

void ObjectPoint::setY ( double  y)
inline

Definition at line 41 of file ObjectPoint.h.

void ObjectPoint::setZ ( double  z)
inline

Definition at line 42 of file ObjectPoint.h.

void ObjectPoint::updatePoint ( const double  x,
const double  y,
const double  z 
)
inline

Definition at line 45 of file ObjectPoint.h.

Member Data Documentation

int ObjectPoint::SetId
private

Definition at line 29 of file ObjectPoint.h.

double ObjectPoint::X
private

Definition at line 26 of file ObjectPoint.h.

double ObjectPoint::Y
private

Definition at line 27 of file ObjectPoint.h.

double ObjectPoint::Z
private

Definition at line 28 of file ObjectPoint.h.


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


asr_intermediate_object_generator
Author(s): Borella Jocelyn, Meißner Pascal
autogenerated on Thu Nov 21 2019 03:53:41