31 using namespace GMap3d;
33 CParameterVertex::CParameterVertex(
int ANbRef) :
41 FSVertex (AParam.FSVertex)
71 AStream<<
"CParameterVertex:"<<endl;
73 AStream<<
" Size: "<<AParameter.FSVertex<<endl;
75 AStream<<
" Color: "<<AParameter.FCLVertex[0]<<
" "
76 <<AParameter.FCLVertex[1]<<
" "<<AParameter.FCLVertex[2]<<endl;
87 AStream>>tmp; assert ( !strcmp(tmp,
"CParameterVertex:") );
89 AStream>>tmp; assert ( !strcmp(tmp,
"Size:") );
90 AStream>>AParameter.FSVertex;
92 AStream>>tmp; assert ( !strcmp(tmp,
"Color:") );
93 AStream>>AParameter.FCLVertex[0]>>AParameter.FCLVertex[1]
94 >>AParameter.FCLVertex[2];
107 if ( FSVertex!=AValue )
116 assert(0<=AIndice && AIndice<=2);
117 return FCLVertex[AIndice];
121 assert(0<=AIndice && AIndice<=2);
122 if ( FCLVertex[AIndice]!=AValue )
125 FCLVertex[AIndice]= AValue;
129 {
return FCLVertex; }
132 if ( FCLVertex[0]!=AValue0 ||
133 FCLVertex[1]!=AValue1 ||
134 FCLVertex[2]!=AValue2 )
137 FCLVertex[0]= AValue0;
138 FCLVertex[1]= AValue1;
139 FCLVertex[2]= AValue2;