Avatar

Achskonvertierung *.040 --> *.GSI (Geodäsie/Vermessung)

MichaeL ⌂, Bad Vilbel, Friday, 21.08.2009, 21:38 (vor 5333 Tagen) @ AWO

Abend,

ICQ habe ich an...

Achselement:

 
 /**
  * Liefert Typ des Achsenelementes
  * @param stationNumber
  * @return keyWord
  */
 private int getType(int stationNumber) {
  // letztes Element --> EOP
  if (stationNumber==this.countStations()-1)
   return Axis.EOP; 
 
  AxisStation preStation     = stationNumber > 0?this.getStation(stationNumber-1):null;
  AxisStation behindStation  = stationNumber < this.countStations()-1?this.getStation(stationNumber+1):null;
  AxisStation currentStation = this.getStation(stationNumber);
 
  if ( currentStation.getRadius() == 0 && currentStation.getClothoidParameter() != 0) 
   return Axis.SPIRIN;
 
  else if ( currentStation.getRadius() != 0 && currentStation.getClothoidParameter() == 0) 
   return Axis.CURVE;
 
  else if ( preStation != null && currentStation.getRadius() != 0 && currentStation.getClothoidParameter() != 0 && behindStation.getRadius() == 0)
   return Axis.SPIROUT;
 
  else if ( preStation != null &&  currentStation.getRadius() != 0 && currentStation.getClothoidParameter() != 0 && preStation.getRadius() !=0 && behindStation.getRadius() !=0 && behindStation.getRadius() !=0 && behindStation.getRadius() < preStation.getRadius() ) 
   return Axis.CURVEIN;
 
  else if ( preStation != null &&  currentStation.getRadius() != 0 && currentStation.getClothoidParameter() != 0 && preStation.getRadius() !=0 && behindStation.getRadius() !=0 && behindStation.getRadius() !=0 && behindStation.getRadius() > preStation.getRadius() )  
   return Axis.CURVEOUT;
 
  else //( currentStation.getRadius() == 0 && currentStation.getClothoidParameter() == 0) {
   return Axis.STRAIGHT;
 
 }
 

Einheiten: In Deinen Beispielen ist der Radius zB 1701518 mm/10 = 170.1518m aber Deine Koordinaten nur 330034mm = 330.034m. Sehe ich das richtig? Ist der Radius immer "genauer" als alle anderen Werte oder gibts auch Radien in mm?

Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences


gesamter Thread:

 RSS-Feed dieser Diskussion