[MOAB-dev] r3601 - MOAB/trunk/tools/dagmc
bmsmith6 at wisc.edu
bmsmith6 at wisc.edu
Fri Mar 12 12:39:29 CST 2010
Author: bmsmith
Date: 2010-03-12 12:39:29 -0600 (Fri, 12 Mar 2010)
New Revision: 3601
Modified:
MOAB/trunk/tools/dagmc/README
Log:
Add instructions for using MOAB to ray trace. This will be linked from the Wiki.
Modified: MOAB/trunk/tools/dagmc/README
===================================================================
--- MOAB/trunk/tools/dagmc/README 2010-03-12 18:12:29 UTC (rev 3600)
+++ MOAB/trunk/tools/dagmc/README 2010-03-12 18:39:29 UTC (rev 3601)
@@ -1 +1,12 @@
-See cgm2moab.man in this directory.
+How to use DagMC for ray casting:
+
+The ray_fire_test is a good example of how to use DagMC for ray casting.
+1) DagMC::load_file
+ If using a solid model, ReadCGM will facet the model using CGM. If using a mesh
+ model, DagMC expects the same geometric topology and senses as created by ReadCGM.
+2) DagMC::init_obb_tree
+ The implicit complement is created, which adds an implicit volume to all surfaces
+ adjacent to only one volume. An oriented bounding box tree is built to accelerate
+ intersection searches.
+3) DagMC::ray_fire
+ Given a ray origin and direction, perform the ray cast.
More information about the moab-dev
mailing list