|
IPCC
1.0
|
Class for coordination. More...
#include "GeometricCoordination.h"

Public Member Functions | |
| CGeometricCoordination () | |
| ~CGeometricCoordination () | |
| double * | GetCoordinationAll () |
| void | SetCoordination (CGeometricCoordination coordination) |
| Get coordination with double buffer. More... | |
| void | SetCoordination (double *pfCoordination) |
| Set coordination to instance. More... | |
| void | SetCoordination (double fXCoordination, double fYCoordination, double fZCoordination) |
| Set coordination to instance. More... | |
| double | GetCoordination (AXIS_DEFINE coord) |
| Get coordination specific axis. More... | |
| void | Rotate (AXIS_DEFINE axis, double fDegree) |
| Rotate coordination with specific degree. More... | |
| void | SetOffset (CGeometricCoordination coord) |
| To offset coordination. More... | |
| void | SetOffset (double fXCoordination, double fYCoordination, double fZCoordination) |
| To offset coordination. More... | |
| void | SetRatio (double fRatio[3]) |
| Set ratio. More... | |
| bool | IsSame (CGeometricCoordination compare) |
| Comparing coordination is same or not within tolerance. More... | |
| bool | operator== (const CGeometricCoordination &compare) |
| Comparing coordination is same or not within tolerance. More... | |
| bool | operator!= (const CGeometricCoordination &compare) |
| Comparing coordination is same or not within tolerance. More... | |
Private Attributes | |
| double | m_fCoordination [3] |
| Cooridnation for x, y, z direction. More... | |
| CGeometricCoordination::CGeometricCoordination | ( | ) |
Definition at line 10 of file GeometricCoordination.cpp.
References _X, _Y, _Z, and m_fCoordination.
| CGeometricCoordination::~CGeometricCoordination | ( | ) |
Definition at line 17 of file GeometricCoordination.cpp.
| double CGeometricCoordination::GetCoordination | ( | AXIS_DEFINE | coord | ) |
Get coordination specific axis.
| coord | Axis that want to get coordination |
Definition at line 47 of file GeometricCoordination.cpp.
References m_fCoordination.
Referenced by CGeometricShape::ArrangeUnitCell(), CGeometricShape::CalculateUnitcellCount(), CGeometricShape::ConstructContactRegionOnPoissonGrid(), CGeometricShape::ConstructMapInfo(), CGeometricShape::MapElecAtomOnPoissonGrid(), CGeometricUnitCell::NumberingSubElement(), CGeometricShape::RefillPeriodicBinding(), CGeometricShape::SetAtomAndNeighborInformation(), SetOffset(), and CGeometricUnitCell::SetSubDomainMaterial().

|
inline |
Definition at line 20 of file GeometricCoordination.h.
References m_fCoordination.
Referenced by CGeometricShape::ArrangeUnitCell(), IsSame(), SetCoordination(), CGeometricUnitCell::SetCoordination(), and CGeometricAtom::SetCoordination().

| bool CGeometricCoordination::IsSame | ( | CGeometricCoordination | compare | ) |
Comparing coordination is same or not within tolerance.
| compare | Coordination that want to compare |
Definition at line 109 of file GeometricCoordination.cpp.
References _X, _Y, _Z, GetCoordinationAll(), and m_fCoordination.
Referenced by operator!=(), and operator==().


| bool CGeometricCoordination::operator!= | ( | const CGeometricCoordination & | compare | ) |
Comparing coordination is same or not within tolerance.
| compare | Coordination that want to compare |
Definition at line 139 of file GeometricCoordination.cpp.
References IsSame().

| bool CGeometricCoordination::operator== | ( | const CGeometricCoordination & | compare | ) |
Comparing coordination is same or not within tolerance.
| compare | Coordination that want to compare |
Definition at line 130 of file GeometricCoordination.cpp.
References IsSame().

| void CGeometricCoordination::Rotate | ( | AXIS_DEFINE | axis, |
| double | fDegree | ||
| ) |
Rotate coordination with specific degree.
| axis | Rotate axis x, y, z |
| fDegree | Rotate degree |
Definition at line 56 of file GeometricCoordination.cpp.
References _X, _Y, _Z, and m_fCoordination.
|
inline |
Get coordination with double buffer.
Definition at line 21 of file GeometricCoordination.h.
References GetCoordinationAll(), and SetCoordination().
Referenced by CGeometricShape::ArrangeUnitCell(), CGeometricAtom::CGeometricAtom(), CGeometricShape::InitShape(), SetCoordination(), CGeometricUnitCell::SetCoordination(), CGeometricAtom::SetCoordination(), CGeometricAtomFactory::SetNeighborCoordination(), IGeometricUnitCellInfo::SetNeighborCoordination(), and CGeometricShape::SetOriginCoordination().


| void CGeometricCoordination::SetCoordination | ( | double * | pfCoordination | ) |
Set coordination to instance.
Set coordination to instance
| pfCoordination | Array of coordination of x, y, z direction |
Definition at line 24 of file GeometricCoordination.cpp.
References _X, _Y, _Z, and m_fCoordination.
| void CGeometricCoordination::SetCoordination | ( | double | fXCoordination, |
| double | fYCoordination, | ||
| double | fZCoordination | ||
| ) |
Set coordination to instance.
| fXCoordination | X axis coordination |
| fYCoordination | Y axis coordination |
| fZCoordination | Z axis coordination |
Definition at line 36 of file GeometricCoordination.cpp.
References _X, _Y, _Z, and m_fCoordination.
| void CGeometricCoordination::SetOffset | ( | CGeometricCoordination | coord | ) |
To offset coordination.
| coord | Offset value |
Definition at line 78 of file GeometricCoordination.cpp.
References _X, _Y, _Z, and GetCoordination().
Referenced by CGeometricUnitCell::ArrangeAtom(), CGeometricShape::ArrangeUnitCell(), CGeometricShape::CalculateUnitcellCount(), and CGeometricUnitCell::IsMachedNeighborRule().


| void CGeometricCoordination::SetOffset | ( | double | fXCoordination, |
| double | fYCoordination, | ||
| double | fZCoordination | ||
| ) |
To offset coordination.
| fXCoordination | Offset value of x axis |
| fYCoordination | Offset value of y axis |
| fZCoordination | Offset value of z axis |
Definition at line 88 of file GeometricCoordination.cpp.
References _X, _Y, _Z, and m_fCoordination.
| void CGeometricCoordination::SetRatio | ( | double | fRatio[3] | ) |
Set ratio.
| fRatio | Ratio value |
Definition at line 98 of file GeometricCoordination.cpp.
References _X, _Y, _Z, and m_fCoordination.
Referenced by CGeometricAtom::SetRatio().

|
private |
Cooridnation for x, y, z direction.
Definition at line 35 of file GeometricCoordination.h.
Referenced by CGeometricCoordination(), GetCoordination(), GetCoordinationAll(), IsSame(), Rotate(), SetCoordination(), SetOffset(), and SetRatio().