31 using namespace GMap3d;
33 CParameterNormalVector::CParameterNormalVector(
int ANbRef) :
43 FLWNormalVector(AParam.FLWNormalVector),
44 FLGNormalVector(AParam.FLGNormalVector)
78 AStream<<
"CParameterNormalVector:"<<endl;
80 AStream<<
" DrawAll: "<<AParameter.FAll<<endl;
82 AStream<<
" LineWidth: "<<AParameter.FLWNormalVector<<endl;
84 AStream<<
" Length: "<<AParameter.FLGNormalVector<<endl;
86 AStream<<
" Color: "<<AParameter.FCLNormalVector[0]<<
" "
87 <<AParameter.FCLNormalVector[1]<<
" "<<AParameter.FCLNormalVector[2]<<endl;
98 AStream>>tmp; assert ( !strcmp(tmp,
"CParameterNormalVector:") );
100 AStream>>tmp; assert ( !strcmp(tmp,
"DrawAll:") );
101 AStream>>AParameter.FAll;
103 AStream>>tmp; assert ( !strcmp(tmp,
"LineWidth:") );
104 AStream>>AParameter.FLWNormalVector;
106 AStream>>tmp; assert ( !strcmp(tmp,
"Length:") );
107 AStream>>AParameter.FLGNormalVector;
109 AStream>>tmp; assert ( !strcmp(tmp,
"Color:") );
110 AStream>>AParameter.FCLNormalVector[0]>>AParameter.FCLNormalVector[1]
111 >>AParameter.FCLNormalVector[2];
133 {
return FLWNormalVector; }
136 if ( FLWNormalVector!=AValue )
139 FLWNormalVector= AValue;
144 {
return FLGNormalVector; }
147 if ( FLGNormalVector!=AValue )
150 FLGNormalVector= AValue;
156 assert(0<=AIndice && AIndice<=2);
157 return FCLNormalVector[AIndice];
161 assert(0<=AIndice && AIndice<=2);
162 if ( FCLNormalVector[AIndice]!=AValue )
165 FCLNormalVector[AIndice]= AValue;
169 {
return FCLNormalVector; }
173 if ( FCLNormalVector[0]!=AValue0 ||
174 FCLNormalVector[1]!=AValue1 ||
175 FCLNormalVector[2]!=AValue2 )
178 FCLNormalVector[0]= AValue0;
179 FCLNormalVector[1]= AValue1;
180 FCLNormalVector[2]= AValue2;