Comments (4)
Are your points and mesh living in 2D (the plane) or in 3D (the mesh is a
surface)?
On Sun, Sep 18, 2016 at 2:57 PM, oqilipo [email protected] wrote:
I'm looking for a fast way (mex) to detect if points are inside a closed
triangle mesh.I saw "in_element_aabb", but this seems to be for tet meshes only?
Is there another function in the toolbox, I may have missed?
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#17, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACI0mVtkrAzSCNs43G0phBYHzYyCXQkpks5qrYmHgaJpZM4J_-wf
.
from gptoolbox.
3D points and a surface mesh with vertices [nx3] and faces [mx3].
from gptoolbox.
If your mesh is the closed manifold boundary of a solid object (no
boundaries/ self-intersections etc.) then you should use signed_distance
,
the sign will tell you whether your inside or outside.
If you mesh is messy and you want a fractional value telling you (roughly)
how much inside vs outside the point is, you should use winding_number
.
On Sun, Sep 18, 2016 at 3:51 PM, oqilipo [email protected] wrote:
3D points and a surface mesh with vertices [n_3] and faces [m_3].
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACI0mXjKTcREnnA79yV9ZqKgsZnKo1TBks5qrZZHgaJpZM4J_-wf
.
from gptoolbox.
Ahh, for sure "signed_distance".
Yes the mesh is the closed manifold boundary of a solid object.
I've tested it and it works 10 times faster then the pure matlab function I used before. Great!
Thank you very much!
from gptoolbox.
Related Issues (20)
- how to mex on mesh_boolean HOT 3
- Install this toolbox on win10 HOT 2
- Compiling mex on M1 Mac HOT 13
- Could NOT find Matlab HOT 8
- kharmonic on high-poly meshes HOT 1
- Qslim.exe file
- Unexpected Standard exception What() is:vector when calling mex principal_curvature HOT 2
- dependend .dlls wont be copied to `./mex` after successfull compilation.
- Looking for sgemm_ - not found HOT 5
- No find: meshgrid, Parameterization QuadCover, HOT 6
- error when building CXX object CMakeFiles/upper_envelope.dir/upper_envelope.cpp.o HOT 1
- ld.exe: cannot find /export:mexFunction: No such file or directory
- Invalid MEX-file 'C:\......\selfintersect.mexw64': The specified module could not be found. HOT 3
- Cannot find /export:mexFunction: No such file or directory HOT 7
- run GPtoolbox HOT 1
- Compile Mex for Octave
- Compile failed. Cannot find split_nonmanifold.cpp
- The function DUAL_LAPLACIAN can not be used
- Interpolationin Tetra mesh. HOT 1
- Improve Documentation by Providing Function List
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gptoolbox.