BRLCAD

Public Member Functions  
void  CreateFromPoints (ON_3dPoint &pA, ON_3dPoint &pB, ON_3dPoint &pC) 
ON_3dPoint  BarycentricCoordinate (const ON_3dPoint &pt) const 
void  GetLineSegments (ON_Line line[3]) const 
Data Fields  
ON_3dPoint  a 
ON_3dPoint  b 
ON_3dPoint  c 
ON_2dPoint  a_2d 
ON_2dPoint  b_2d 
ON_2dPoint  c_2d 
Surfacesurface intersections (SSI)
approach:
– Split the two surfaces, both into four parts, and calculate the subsurfaces' bounding boxes.
– Calculate the intersection of subsurfaces' bboxes, if they do intersect, go deeper with splitting surfaces and smaller bboxes, otherwise trace back.
See: Adarsh Krishnamurthy, Rahul Khardekar, Sara McMains, Kirk Haller, and Gershon Elber. 2008. Performing efficient NURBS modeling operations on the GPU. In Proceedings of the 2008 ACM symposium on Solid and physical modeling (SPM '08). ACM, New York, NY, USA, 257268. DOI=10.1145/1364901.1364937 http://doi.acm.org/10.1145/1364901.1364937
Definition at line 2158 of file intersect.cpp.

inline 
Definition at line 2161 of file intersect.cpp.

inline 
Definition at line 2167 of file intersect.cpp.
Referenced by ON_Intersect().

inline 
Definition at line 2181 of file intersect.cpp.
Referenced by triangle_intersection().
ON_3dPoint a 
Definition at line 2159 of file intersect.cpp.
Referenced by triangle_intersection().
ON_3dPoint b 
Definition at line 2159 of file intersect.cpp.
Referenced by triangle_intersection().
ON_3dPoint c 
Definition at line 2159 of file intersect.cpp.
Referenced by triangle_intersection().
ON_2dPoint a_2d 
Definition at line 2160 of file intersect.cpp.
Referenced by barycentric_to_uv().
ON_2dPoint b_2d 
Definition at line 2160 of file intersect.cpp.
Referenced by barycentric_to_uv().
ON_2dPoint c_2d 
Definition at line 2160 of file intersect.cpp.
Referenced by barycentric_to_uv().