sgCGroup* sgBoolean::IntersectionContour(const sgC3DObject& aOb, const sgC3DObject& bOb)
Creates a group of line segments which are the intersection of two 3D objects surfaces, i.e. the line segments with the points lying both on the surface of the first and of the second object.
aOb - first object,
bOb - second object.
Returns the pointer to a group of line segments which are the intersection of the arguments surfaces. If the objects surfaces are not intersecting or in case of an internal error the function returns NULL.
An internal error may occur in case you call this function for the surfaces or solids with self-intersections (these solids may be constructed, for example, by a number of kinematic operations).
The function for correcting self-intersections of solids is planned in the next library version.