Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/CoordinateSystem3D.cpp @ 757:f7c236894c1a
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 May 2019 17:05:14 +0200 |
parents | 6af3099ed8da |
children | 1181e1ad98ec |
comparison
equal
deleted
inserted
replaced
749:f3a7092ed10e | 757:f7c236894c1a |
---|---|
187 { | 187 { |
188 return GeometryToolbox::IntersectPlaneAndLine(p, normal_, d_, origin, direction); | 188 return GeometryToolbox::IntersectPlaneAndLine(p, normal_, d_, origin, direction); |
189 } | 189 } |
190 | 190 |
191 | 191 |
192 bool CoordinateSystem3D::GetDistance(double& distance, | 192 bool CoordinateSystem3D::ComputeDistance(double& distance, |
193 const CoordinateSystem3D& a, | 193 const CoordinateSystem3D& a, |
194 const CoordinateSystem3D& b) | 194 const CoordinateSystem3D& b) |
195 { | 195 { |
196 bool opposite; // Ignored | 196 bool opposite; // Ignored |
197 | 197 |
198 if (OrthancStone::GeometryToolbox::IsParallelOrOpposite( | 198 if (OrthancStone::GeometryToolbox::IsParallelOrOpposite( |
199 opposite, a.GetNormal(), b.GetNormal())) | 199 opposite, a.GetNormal(), b.GetNormal())) |