/usr/include/urg/Coordinate.h is in liburg0-dev 0.8.12-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | #ifndef QRC_COORDINATE_H
#define QRC_COORDINATE_H
/*!
\file
\brief ���W�n
\author Satofumi KAMIMURA
$Id: Coordinate.h 1601 2010-01-04 15:09:50Z satofumi $
*/
#include "Position.h"
#include <set>
#include <memory>
namespace qrk
{
/*!
\brief ���W�n
*/
class Coordinate
{
public:
Coordinate(void);
virtual ~Coordinate(void);
/*!
\brief �O���[�o�����W�n�̎擾
*/
static Coordinate* root(void);
/*!
\brief ���W�n�̌��_��ݒ�
�w�肵�����W�n�Ɍ��_�ʒu������t����B
\param[in,out] parent �e�Ƃ��Đݒ肷����W�n
\param[in] position ���_�̐e���W�n�ł̈ʒu
*/
void setOriginTo(Coordinate* parent, const Position<long>& position);
/*!
\brief �e���W�n�̎擾
\retval �e���W�n
*/
Coordinate* parent(void) const;
/*!
\brief �q���W�n�̎擾
\retval �q���W�n�̃|�C���^�ꗗ
*/
std::set<Coordinate*> children(void) const;
/*!
\brief �q���W�n�̌��_�ʒu���擾
\param[in] child �q���W�n
\retval �q���W�n�̌��_�ʒu
\todo �]�͂���A�C�ӂ̍��W�n��^���ď����ł���悤�ɕύX����
*/
Position<long> offset(const Coordinate* child) const;
/*!
\brief �w�肵���ʒu�����W�n�̂ǂ��ɑ������邩���擾
\param[in] position �ʒu
\param[in] coordinate �ʒu�����݂�����W�n
\retval ���g�̍��W�n�ł̈ʒu
*/
Position<long> pointPosition(const Coordinate* coordinate,
const Position<long>& position) const;
protected:
/*!
\brief ���W�n�̕]���O�ɌĂ�郁�\�b�h
*/
virtual void beforeEvaluate(void)
{
}
private:
Coordinate(Coordinate* parent);
Coordinate(const Coordinate& rhs);
Coordinate& operator = (const Coordinate& rhs);
struct pImpl;
std::auto_ptr<pImpl> pimpl;
};
}
#endif /*! QRC_COORDINATE_H */
|