|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLPACS::COrderedChain Class ReferenceA list of ordered vertices, partially delimiting 2 different surfaces.
More...
#include <chain.h>
List of all members.
Detailed Description
A list of ordered vertices, partially delimiting 2 different surfaces.
In the vertex list, we consider the following order v1 < v2 iff v1.x < v2.x || v1.x == v2.x && v1.y < v2.y The vertices composing the chain are only 2 coordinates (x, y) wide, packed on 16 bits each (which is 4 bytes per vertex.) This is the packed form of the COrderedChain3f. (4 bytes per vertex.) -
Author:
-
Benjamin Legros , Nevrax France
-
Date:
-
2001
Definition at line 107 of file chain.h.
Member Function Documentation
void NLPACS::COrderedChain::computeMinMax |
( |
|
) |
[inline] |
|
float NLPACS::COrderedChain::distance |
( |
const NLMISC::CVector & |
position |
) |
const |
|
uint16 NLPACS::COrderedChain::getIndexInParent |
( |
|
) |
const [inline] |
|
float NLPACS::COrderedChain::getLength |
( |
|
) |
const [inline] |
|
|
Returns the length of the chain.
Definition at line 145 of file chain.h.
References _Length. |
const CVector2s& NLPACS::COrderedChain::getMax |
( |
|
) |
const [inline] |
|
|
Returns the max vector of the chain.
Definition at line 154 of file chain.h.
References _Max. |
const CVector2s& NLPACS::COrderedChain::getMin |
( |
|
) |
const [inline] |
|
|
Returns the min vector of the chain.
Definition at line 151 of file chain.h.
References _Min. |
uint16 NLPACS::COrderedChain::getParentId |
( |
|
) |
const [inline] |
|
const std::vector<CVector2s>& NLPACS::COrderedChain::getVertices |
( |
|
) |
const [inline] |
|
bool NLPACS::COrderedChain::isForward |
( |
|
) |
const [inline] |
|
const CVector2s& NLPACS::COrderedChain::operator[] |
( |
uint |
n |
) |
const [inline] |
|
void NLPACS::COrderedChain::pack |
( |
const COrderedChain3f & |
chain |
) |
[inline] |
|
void NLPACS::COrderedChain::translate |
( |
const NLMISC::CVector & |
translation |
) |
|
|
void NLPACS::COrderedChain::traverse |
( |
sint |
from, |
|
|
sint |
to, |
|
|
bool |
forward, |
|
|
std::vector< CVector2s > & |
path |
|
) |
const |
|
Friends And Related Function Documentation
friend class CChain [friend]
|
|
friend class CRetrievableSurface [friend]
|
|
Member Data Documentation
bool NLPACS::COrderedChain::_Forward [protected]
|
|
|
Set if the chain should be read forward within the parent CChain (for sequential access to vertices.).
Definition at line 117 of file chain.h.
Referenced by isForward, pack, and serial. |
uint16 NLPACS::COrderedChain::_IndexInParent [protected]
|
|
float NLPACS::COrderedChain::_Length [protected]
|
|
CVector2s NLPACS::COrderedChain::_Max [protected]
|
|
CVector2s NLPACS::COrderedChain::_Min [protected]
|
|
uint16 NLPACS::COrderedChain::_ParentId [protected]
|
|
std::vector<CVector2s> NLPACS::COrderedChain::_Vertices [protected]
|
|
The documentation for this class was generated from the following files:
|
|