Opened 5 years ago

Last modified 5 years ago

#12984 new Bugs

Impossible make coordinate transformation

Reported by: kirill.ierusalimov@… Owned by: Barend Gehrels
Milestone: To Be Determined Component: geometry
Version: Boost 1.64.0 Severity: Problem
Keywords: geometry qvm matrix transformer Cc:

Description

Compiler error occured while compiling lines 172, 174 and 176 in the file geometry/strategies/transform/matrix_transformers.hpp because there no suitable operator in the boost::qvm::mat structure (defined in qvm\mat.hpp).

Problem code:

set<0>(p2, boost::numeric_cast<ct2>(

c1 * m_matrix(0,0) + c2 * m_matrix(0,1) + c3 * m_matrix(0,2) + m_matrix(0,3)));

set<1>(p2, boost::numeric_cast<ct2>(

c1 * m_matrix(1,0) + c2 * m_matrix(1,1) + c3 * m_matrix(1,2) + m_matrix(1,3)));

set<2>(p2, boost::numeric_cast<ct2>(

c1 * m_matrix(2,0) + c2 * m_matrix(2,1) + c3 * m_matrix(2,2) + m_matrix(2,3)));

Change History (1)

comment:1 by anonymous, 5 years ago

I am struggling with the same issue.

Note: See TracTickets for help on using tickets.