public BeanArc_internal(BeanPoint_internal p_pointDbt, BeanPoint_internal p_pointFin) { p00_idArc = _dernierIdArc++; p11_pointDbt = p_pointDbt; p12_pointFin = p_pointFin; // p01_hcodeArc = FLabServices.createUtilitaires().GethCodeGeogSegment(p11_pointDbt.p10_coord, p12_pointFin.p10_coord); // _longueurArcDansPlanXy = -1; _longueurArcDansPlanXyz = -1; // p41_sensPenteDeLArc = enumSensPenteArc.indetermine; p42_valeurPente = null; // p43_qualifMorphoDeLArc = enum_qualificationMorpho_arc.indetermine; }
public enumSensPenteArc getSensPenteArc() { if (p41_sensPenteDeLArc == enumSensPenteArc.indetermine) { if (p11_pointDbt.p10_coord[2] == p12_pointFin.p10_coord[2]) { p41_sensPenteDeLArc = enumSensPenteArc.flat; } else { if (p11_pointDbt.p10_coord[2] > p12_pointFin.p10_coord[2]) { p41_sensPenteDeLArc = enumSensPenteArc.descendant; } else { p41_sensPenteDeLArc = enumSensPenteArc.montant; } } } return(p41_sensPenteDeLArc); }