projection plane on local coordinates
This commit is contained in:
@@ -6,8 +6,10 @@ namespace uLib {
|
||||
MuonEvent DetectorChamber::ProjectMuonEvent(const MuonEvent &muon) const {
|
||||
MuonEvent projectedMuon = muon;
|
||||
|
||||
HPoint3f P = m_ProjectionPlane.origin;
|
||||
HVector3f N = m_ProjectionPlane.direction;
|
||||
// Transform the local projection plane to world coordinates
|
||||
HLine3f worldPlane = this->GetWorldProjectionPlane();
|
||||
HPoint3f P = worldPlane.origin;
|
||||
HVector3f N = worldPlane.direction;
|
||||
|
||||
HPoint3f X_in = muon.LineIn().origin;
|
||||
HPoint3f X_out = muon.LineOut().origin;
|
||||
|
||||
Reference in New Issue
Block a user