Exemplo n.º 1
0
Pt2d<Fonc_Num>   AllocateurDInconnues::NewPt2(REAL * adrX,REAL * adrY,bool HasAlwaysInitialValue)
{
    PushVar(adrX);
    PushVar(adrY);
    mIdInc += 2;
    return Pt2d<Fonc_Num>
           (
               kth_coord(mIdInc-2,HasAlwaysInitialValue,*adrX),
               kth_coord(mIdInc-1,HasAlwaysInitialValue,*adrY)
           );
}
Exemplo n.º 2
0
TplElRotation3D<Fonc_Num> AllocateurDInconnues::NewRot
                        (
			    REAL * adrTrX, REAL * adrTrY, REAL * adrTrZ,
			    REAL * adrTeta01,
			    REAL * adrTeta02,
			    REAL * adrTeta12
			 )
{
    mIdInc += 6;
    PushVar(adrTrX);
    PushVar(adrTrY);
    PushVar(adrTrZ);
    PushVar(adrTeta01);
    PushVar(adrTeta02);
    PushVar(adrTeta12);

    return  TplElRotation3D<Fonc_Num>
            (
                Pt3d<Fonc_Num>
                (
                    kth_coord(mIdInc-6),
                    kth_coord(mIdInc-5),
                    kth_coord(mIdInc-4)
                ),
                kth_coord(mIdInc-3),
                kth_coord(mIdInc-2),
                kth_coord(mIdInc-1)
            );
}
//----------------------------------------------------------------------------
void medHTMLTemplateParserBlock::PushVar( wxString name, int varValue )
//----------------------------------------------------------------------------
{
    PushVar(name,wxString::Format("%d",varValue));
}
//----------------------------------------------------------------------------
void medHTMLTemplateParserBlock::PushVar( wxString name, double varValue )
//----------------------------------------------------------------------------
{
    PushVar(name,wxString::Format(m_DoubleFormat,varValue));
}
Exemplo n.º 5
0
INT AllocateurDInconnues::NewInc(REAL * anAdr)
{
    PushVar(anAdr);
    return  mIdInc++;
}