|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLLIGO::CZoneEdge Class ReferenceA ZoneEdge descriptor.
More...
#include <zone_edge.h>
List of all members.
Public Methods |
bool | build (const std::vector< NLMISC::CVector > &theEdge, const std::vector< uint32 > &theId, uint rotation, sint32 offsetX, sint32 offsetY, const CLigoConfig &config, CLigoError &errors) |
| Build a edge zone. More...
|
void | serial (NLMISC::IStream &s) |
| Serial. More...
|
bool | isSymetrical (const CLigoConfig &config, CLigoError &errors) const |
| Is symetrical ? More...
|
bool | isTheSame (const CZoneEdge &other, const CLigoConfig &config, CLigoError &errors) const |
| Is the same edge ? More...
|
void | invert (const CLigoConfig &config) |
| Invert the edge. More...
|
uint | getNumVertex () const |
| Return the vertex count. More...
|
const NLMISC::CVector & | getVertex (uint id) const |
| Return the vertex. More...
|
void | buildMatrix (NLMISC::CMatrix &mat, const CLigoConfig &config) const |
| Return the matrix. More...
|
uint32 | getRotation () const |
| Get values. More...
|
sint32 | getOffsetX () const |
sint32 | getOffsetY () const |
Private Attributes |
std::vector< NLMISC::CVector > | _TheEdge |
| The vector of position for this edge. More...
|
std::vector< uint32 > | _Id |
| Id of the vertices. More...
|
uint32 | _Rotation |
| Rotation of the edge. Must be 0, 1, 2, 3. The rotation angle is Pi/2 * (double)_Rotation in CCW. More...
|
sint32 | _OffsetX |
| X an Y offset of the edge. the position of the i-th vertex is rotate (_Rotation) * (theEdge[i], 0, 0) + (_OffsetX, _OffsetY, 0). More...
|
sint32 | _OffsetY |
Detailed Description
A ZoneEdge descriptor.
-
Author:
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 55 of file zone_edge.h.
Member Function Documentation
uint NLLIGO::CZoneEdge::getNumVertex |
( |
|
) |
const [inline] |
|
sint32 NLLIGO::CZoneEdge::getOffsetX |
( |
|
) |
const [inline] |
|
sint32 NLLIGO::CZoneEdge::getOffsetY |
( |
|
) |
const [inline] |
|
uint32 NLLIGO::CZoneEdge::getRotation |
( |
|
) |
const [inline] |
|
void NLLIGO::CZoneEdge::invert |
( |
const CLigoConfig & |
config |
) |
|
|
bool NLLIGO::CZoneEdge::isTheSame |
( |
const CZoneEdge & |
other, |
|
|
const CLigoConfig & |
config, |
|
|
CLigoError & |
errors |
|
) |
const |
|
|
Serial.
Definition at line 175 of file zone_edge.cpp.
References _Id, _OffsetX, _OffsetY, _Rotation, _TheEdge, s, NLMISC::IStream::serialCont, NLMISC::IStream::serialVersion, NLMISC::IStream::xmlPop, NLMISC::IStream::xmlPush, and NLMISC::IStream::xmlSerial. |
Member Data Documentation
std::vector<uint32> NLLIGO::CZoneEdge::_Id [private]
|
|
sint32 NLLIGO::CZoneEdge::_OffsetX [private]
|
|
|
X an Y offset of the edge. the position of the i-th vertex is rotate (_Rotation) * (theEdge[i], 0, 0) + (_OffsetX, _OffsetY, 0).
Definition at line 101 of file zone_edge.h.
Referenced by build, buildMatrix, getOffsetX, and serial. |
sint32 NLLIGO::CZoneEdge::_OffsetY [private]
|
|
uint32 NLLIGO::CZoneEdge::_Rotation [private]
|
|
The documentation for this class was generated from the following files:
|
|