PointChain2D Class Reference

The PointChain2D. More...

List of all members.

Public Member Functions

 PointChain2D ()
 default constr.
 PointChain2D (AI_Base_Enum baseType, AiBlade2D blade, DispoHypParam dhp, double par0, double par1)
 Build by AiBlade2D.
 PointChain2D (AI_Chain_Enum chainType, AI_Sign dir0, PointChain2D pc0, AI_Sign dir1, PointChain2D pc1)
 Build by chaining of point chains.
 PointChain2D (AI_Chain_Enum chainType, AI_Sign dir0, PointChain2D pc0, AI_Sign dir1, PointChain2D pc1, AI_Sign dir2, PointChain2D pc2)
 Build by chaining of point chains.
 PointChain2D (AI_Chain_Enum chainType, AI_Sign dir0, PointChain2D pc0, AI_Sign dir1, PointChain2D pc1, AI_Sign dir2, PointChain2D pc2, AI_Sign dir3, PointChain2D pc3)
 Build by chaining of point chains.
 PointChain2D (AI_Chain_Enum chainType, AI_Sign dir0, PointChain2D pc0, AI_Sign dir1, PointChain2D pc1, AI_Sign dir2, PointChain2D pc2, AI_Sign dir3, PointChain2D pc3, AI_Sign dir4, PointChain2D pc4)
 Build by chaining of point chains.
 PointChain2D (AI_Bez_Enum bezType, DispoHypParam dhp, Vec2D pos0, Vec2D pos1, Vec2D pos2)
 Build by chaining of point chains.
 PointChain2D (AI_Bez_Enum bezType, DispoHypParam dhp, Vec2D pos0, Vec2D pos1, Vec2D pos2, Vec2D pos3)
 Build by chaining of point chains.
 PointChain2D (AI_Extract_Enum extractType, PointChain2D pc, int index0, int index1)
 Build by extracting from an existing PointChain2D.
Vec2D Vec2DByIndex (int index)
 Position at node index.
Vec2D NormVec2DByIndex (int index)
 Unity vector normal to point chain at node index.
void Append (AI_Sign_Enum dir, const PointChain2D &ptChExt)
 Append a point chain.


Detailed Description

The PointChain2D.


Constructor & Destructor Documentation

PointChain2D::PointChain2D  ) 
 

default constr.

PointChain2D::PointChain2D AI_Base_Enum  baseType,
AiBlade2D  blade,
DispoHypParam  dhp,
double  par0,
double  par1
 

Build by AiBlade2D.

Parameters:
baseType is AI_BladeBase
blade is the blade to be basis
dhp includes hyperbolic disposition of points and number of line segments
par0 start parameter on blade
par1 end parameter on blade

PointChain2D::PointChain2D AI_Chain_Enum  chainType,
AI_Sign  dir0,
PointChain2D  pc0,
AI_Sign  dir1,
PointChain2D  pc1
 

Build by chaining of point chains.

Parameters:
chainType marks number of pointChains to be chained, set to AI_Chain2
dir0 index direction of first base pointchain
pc0 first base pointchain
dir1 index direction of second base pointchain
pc1 first pointchain

PointChain2D::PointChain2D AI_Chain_Enum  chainType,
AI_Sign  dir0,
PointChain2D  pc0,
AI_Sign  dir1,
PointChain2D  pc1,
AI_Sign  dir2,
PointChain2D  pc2
 

Build by chaining of point chains.

Parameters:
chainType marks number of pointChains to be chained, set to AI_Chain3
dir0 index direction of first base pointchain
pc0 first base pointchain
dir1 index direction of second base pointchain
pc1 first base pointchain
dir2 index direction of third base pointchain
pc2 third base pointchain

PointChain2D::PointChain2D AI_Chain_Enum  chainType,
AI_Sign  dir0,
PointChain2D  pc0,
AI_Sign  dir1,
PointChain2D  pc1,
AI_Sign  dir2,
PointChain2D  pc2,
AI_Sign  dir3,
PointChain2D  pc3
 

Build by chaining of point chains.

Parameters:
chainType marks number of pointChains to be chained, set to AI_Chain4
dir0 index direction of first base pointchain
pc0 first base pointchain
dir1 index direction of second base pointchain
pc1 first base pointchain
dir2 index direction of third base pointchain
pc2 third base pointchain
dir3 index direction of fourth base pointchain
pc3 fourth base pointchain

PointChain2D::PointChain2D AI_Chain_Enum  chainType,
AI_Sign  dir0,
PointChain2D  pc0,
AI_Sign  dir1,
PointChain2D  pc1,
AI_Sign  dir2,
PointChain2D  pc2,
AI_Sign  dir3,
PointChain2D  pc3,
AI_Sign  dir4,
PointChain2D  pc4
 

Build by chaining of point chains.

Parameters:
chainType marks number of pointChains to be chained, set to AI_Chain5
dir0 index direction of first base pointchain
pc0 first base pointchain
dir1 index direction of second base pointchain
pc1 first base pointchain
dir2 index direction of third base pointchain
pc2 third base pointchain
dir3 index direction of fourth base pointchain
pc3 fourth base pointchain
dir4 index direction of fifth base pointchain
pc4 fifth base pointchain

PointChain2D::PointChain2D AI_Bez_Enum  bezType,
DispoHypParam  dhp,
Vec2D  pos0,
Vec2D  pos1,
Vec2D  pos2
 

Build by chaining of point chains.

Parameters:
bezType type of bezier base, set to AI_Bez3
dhp includes hyperbolic disposition of points and number of line segments
pos0 first base point
pos1 second base point
pos2 third base point

PointChain2D::PointChain2D AI_Bez_Enum  bezType,
DispoHypParam  dhp,
Vec2D  pos0,
Vec2D  pos1,
Vec2D  pos2,
Vec2D  pos3
 

Build by chaining of point chains.

Parameters:
bezType type of bezier base, set to AI_Bez4
dhp includes hyperbolic disposition of points and number of line segments
pos0 first base point
pos1 second base point
pos2 third base point
pos3 fouth base point

PointChain2D::PointChain2D AI_Extract_Enum  extractType,
PointChain2D  pc,
int  index0,
int  index1
 

Build by extracting from an existing PointChain2D.

Parameters:
extractType type of extraction
pc base pointchain
index0 first extract index on base pointchain
index1 last extract index on base pointchain


Member Function Documentation

Vec2D PointChain2D::Vec2DByIndex int  index  ) 
 

Position at node index.

Parameters:
index node index
Returns:
position of interest

Vec2D PointChain2D::NormVec2DByIndex int  index  ) 
 

Unity vector normal to point chain at node index.

The point chain direction is estimated by parabolical connection of predecessor, current node and successor. The direction is turnd by 90 deg against mathematical postitive rotation (in fact: let y turn to x).

Parameters:
index node index
Returns:
unity normal vector of interest

void PointChain2D::Append AI_Sign_Enum  dir,
const PointChain2D ptChExt
 

Append a point chain.

Parameters:
dir orientation of appending point-chain
ptChExt point chain to be appended


Generated on Fri Mar 11 15:05:15 2011 for AiGrid2D by  doxygen 1.4.6-NO