}
si.r = CC->diag_radi();
si.sh = this->slotHeading();
- si.h = this->slotHeading() - acos(EDIST( // TODO generalize
- this->slot().bnodes()[0],
- this->slot().bnodes()[1]
- ) / BCAR_LENGTH);
+ if (this->slotType() == PARALLEL) {
+ si.h = this->slotHeading() - acos(EDIST(
+ this->slot().bnodes()[0],
+ this->slot().bnodes()[1]
+ ) / BCAR_LENGTH);
+ } else {
+ si.h = M_PI /2;
+ }
return si;
}