model_server/gra/src/graSymbol.h.cxx
//------------------------------------------
// set_position
//
// Sets the position of a symbol
//------------------------------------------
set_position
Sets the position of a symbol
set_position Sets the position of a symbol
void graParametricSymbol::set_position( float cx, float cy )
{
    Initialize (graParametricSymbol::set_position);
    iv3(Transformer)* t = NULL;
    iv3(Transformer)* local = GetTransformer();
    if (local)
    {
	float a1, a2, a3, a4, a5, a6;
	local->GetEntries(a1, a2, a3, a4, a5, a6);
	t = new iv3(Transformer) (a1, 0.0, 0.0, a4, 0.0, 0.0);
	t->Translate(cx, cy);
    }
    else
	t = new iv3(Transformer)(1.0, 0.0, 0.0, 1.0, cx, cy);
    SetTransformer(t);
    Unref(t);
}
void graParametricSymbol :: set_position ( float cx , float cy ) { Initialize ( graParametricSymbol :: set_position ) ; iv3 ( Transformer ) * t = NULL ; iv3 ( Transformer ) * local = GetTransformer ( ) ; if ( local ) { float a1 , a2 , a3 , a4 , a5 , a6 ; local -> GetEntries ( a1 , a2 , a3 , a4 , a5 , a6 ) ; t = new iv3 ( Transformer ) ( a1 , 0.0 , 0.0 , a4 , 0.0 , 0.0 ) ; t -> Translate ( cx , cy ) ; } else t = new iv3 ( Transformer ) ( 1.0 , 0.0 , 0.0 , 1.0 , cx , cy ) ; SetTransformer ( t ) ; Unref ( t ) ; }
set_position
Sets the position of a symbol
set_position Sets the position of a symbol