electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Checking for a point inside a region of a spherical surface


Post new topic  Reply to topic    EDAboard.com Forum Index -> Mathematics & Physics -> Checking for a point inside a region of a spherical surface
Author Message
zeeshanzia84



Joined: 29 May 2006
Posts: 202
Helped: 19
Location: Pakistan / Germany


Post21 Jun 2008 11:33   

Checking for a point inside a region of a spherical surface


Hi everybody,

I am working on a 3D Morphing algorithm.

I have a point X on lying on a unit sphere in the spherical coordinate system. I have three other points A,B, and C which are also on the unit sphere.

I need to find out whether X lies on the spherical surface enclosed by A,B, and C or not.

Can any one tell me how to do this?

Thanks a lot in advance.
Back to top
Google
AdSense
Google Adsense




Post21 Jun 2008 11:33   

Ads




Back to top
elmolla



Joined: 14 Jul 2005
Posts: 133
Helped: 16


Post23 Jun 2008 15:16   

Re: Checking for a point inside a region of a spherical surf


I don't get you, do you mean in MATLAB for example or generally?
Back to top
zeeshanzia84



Joined: 29 May 2006
Posts: 202
Helped: 19
Location: Pakistan / Germany


Post23 Jun 2008 17:04   

Re: Checking for a point inside a region of a spherical surf


I needed a mathematical procedure to do this, so I could implement this in C++.

I know how to do it now. Here's how:


Calculate three planes. Each one is defined by three points: 2 of your "spherical triangle" points and the center of your sphere. Have the normals of the planes pointing "inwards" on your spherical triangle. The space inside those three planes defines your spherical triangle. Check your test point against the planes; if it's on the side of the plane where the normal is pointing, it's inside your spherical triangle.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Mathematics & Physics -> Checking for a point inside a region of a spherical surface
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to detect a break point inside a cable (4)
Want to plot Point SAR vs depth inside in CST microwave (1)
Inversion region and depletion region... (1)
Need VHDL/Verilog library for Floating point and fixed point (2)
Surface p+ doping to supress surface state generation (5)
checking for bad cell? (1)
surface wave and surface current ? (5)
surface wave and surface current (3)
Checking for any transistors operating in triode mode (3)
which is the best tool for formailty checking (6)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS