comparison Framework/Toolbox/OrientedBoundingBox.cpp @ 158:a053ca7fa5c6 wasm

LinearAlgebra toolbox
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Feb 2018 08:58:31 +0100
parents c5044bbfc303
children 0a73d76333db
comparison
equal deleted inserted replaced
157:2309e8d86efe 158:a053ca7fa5c6
235 235
236 double x = boost::numeric::ublas::inner_prod(q, u_) / (2.0 * hu_) + 0.5; 236 double x = boost::numeric::ublas::inner_prod(q, u_) / (2.0 * hu_) + 0.5;
237 double y = boost::numeric::ublas::inner_prod(q, v_) / (2.0 * hv_) + 0.5; 237 double y = boost::numeric::ublas::inner_prod(q, v_) / (2.0 * hv_) + 0.5;
238 double z = boost::numeric::ublas::inner_prod(q, w_) / (2.0 * hw_) + 0.5; 238 double z = boost::numeric::ublas::inner_prod(q, w_) / (2.0 * hw_) + 0.5;
239 239
240 GeometryToolbox::AssignVector(target, x, y, z); 240 LinearAlgebra::AssignVector(target, x, y, z);
241 } 241 }
242 242
243 243
244 bool OrientedBoundingBox::ComputeExtent(Extent2D& extent, 244 bool OrientedBoundingBox::ComputeExtent(Extent2D& extent,
245 const CoordinateSystem3D& plane) const 245 const CoordinateSystem3D& plane) const