Coder Social home page Coder Social logo

Comments (2)

zhong-yy avatar zhong-yy commented on June 12, 2024

亚博你好,谢谢你对我们的工作感兴趣。

Point Gravity::g_1st(const Polyhedral& pol, const Point& ob,
const double& a, const double& b, const double& c)
{
Point g(0.0, 0.0, 0.0);
g = g_1st0(pol, ob, a, b, c);
g = g + g_const(pol, ob, a*ob.x + b*ob.y + c*ob.z);
return g;
}

这是因为我们的推导都是基于“观测点位于坐标原点”这一前提条件的。在实际中,确定了一个坐标系之后,不可能每个观测点都位于原点,所以在计算的时候首先需要把坐标系平移到以计算点为原点的局部坐标系下。所以内部的计算实际是在局部坐标系下进行的,而程序“对外用户接口”则是全局坐标系。

对于非均匀密度的异常体而言,坐标转换后,异常体的密度表达式和原来坐标系下的表达式不一样了。假设一个线性密度的异常体密度为f(x,y,z)=ax+by+cz (这里的xyz是全局坐标系),观测点坐标是(x',y',z'),那么在以观测点为原点的坐标系中,密度表达式变为a(x+x')+b(y+y')+c(z+z') (注意这里的xyz变成了局部坐标系)
image

from graply.

zhong-yy avatar zhong-yy commented on June 12, 2024

没有其他问题的话,我就关闭这个issue了。 还有其他问题的话,随时可以联系我。

from graply.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.