Ignore:
Timestamp:
Apr 7, 2010, 3:45:38 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
0f55b2
Parents:
770138
Message:

Made data internal data-structure of vector class private

  • Replaced occurences of access to internals with operator
  • moved Vector-class into LinAlg-Module
  • Reworked Vector to allow clean modularization
  • Added Plane class to describe arbitrary planes in 3d space
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/UIElements/TextDialog.cpp

    r770138 r71910a  
    119119
    120120bool TextDialog::VectorTextQuery::handle() {
    121  Log() << Verbose(0) << getTitle();
    122  tmp->AskPosition(cellSize,check);
    123  return true;
     121  Log() << Verbose(0) << getTitle();
     122
     123  char coords[3] = {'x','y','z'};
     124  int j = -1;
     125  for (int i=0;i<3;i++) {
     126    j += i+1;
     127    do {
     128      Log() << Verbose(0) << coords[i] << "[0.." << cellSize[j] << "]: ";
     129      cin >> (*tmp)[i];
     130    } while ((((*tmp)[i] < 0) || ((*tmp)[i] >= cellSize[j])) && (check));
     131  }
     132  return true;
    124133}
    125134
Note: See TracChangeset for help on using the changeset viewer.