You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
401 B
C
33 lines
401 B
C
|
1 month ago
|
#pragma once
|
||
|
|
#include "vector.h"
|
||
|
|
#include "Plane.h"
|
||
|
|
|
||
|
|
namespace NCalibrate
|
||
|
|
{
|
||
|
|
|
||
|
|
// 3 2
|
||
|
|
// _____
|
||
|
|
// | |
|
||
|
|
// |___|
|
||
|
|
// 0 1
|
||
|
|
|
||
|
|
class CCell :
|
||
|
|
public CVector
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
CCell(void);
|
||
|
|
~CCell(void);
|
||
|
|
|
||
|
|
void Create(double x0, double x1, double x2, double x3);
|
||
|
|
int Create(CVector& m, CVector& n, CVector& z);
|
||
|
|
|
||
|
|
double LineValue(double m, double n);
|
||
|
|
|
||
|
|
protected:
|
||
|
|
CLine2D mn;
|
||
|
|
};
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
using namespace NCalibrate;
|