IPCC  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KNGeometricCoordination.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "CKNGlobal.h"
17 {
18 public:
21 
22  double* GetCoordinationAll(){ return m_fCoordination; };
24  void SetCoordination(double* pfCoordination);
25  void SetCoordination(double fXCoordination, double fYCoordination, double fZCoordination);
26  double GetCoordination(AXIS_DEFINE coord);
27  void Rotate(AXIS_DEFINE axis, double fDegree);
29  void SetOffset(double fXCoordination, double fYCoordination, double fZCoordination);
30  void SetRatio(double fRatio[3]);
32 
35 
36 private:
37  double m_fCoordination[3];
38 };
39 
Class for coordination.
int compare(const void *pA, const void *pB)
void SetOffset(CKNGeometricCoordination coord)
To offset coordination.
double m_fCoordination[3]
Cooridnation for x, y, z direction.
Common definition for Solver.
AXIS_DEFINE
Definition: CKNGlobal.h:105
bool IsSame(CKNGeometricCoordination compare)
Comparing coordination is same or not within tolerance.
void Rotate(AXIS_DEFINE axis, double fDegree)
Rotate coordination with specific degree.
double GetCoordination(AXIS_DEFINE coord)
Get coordination specific axis.
bool operator!=(const CKNGeometricCoordination &compare)
Comparing coordination is same or not within tolerance.
void SetCoordination(CKNGeometricCoordination coordination)
Get coordination with double buffer.
bool operator==(const CKNGeometricCoordination &compare)
Comparing coordination is same or not within tolerance.
void SetRatio(double fRatio[3])
Set ratio.