AcGeSurfSurfInt::AcGeSurfSurfInt

AcGeSurfSurfInt(
    const AcGeSurface& srf1, 
    const AcGeSurface& srf2, 
    const AcGeTol& tol = AcGeContext::gTol
);
Parameters
Parameters 
Description 
const AcGeSurface& srf1 
Input first surface object 
const AcGeSurface& srf2 
Input second surface object 
const AcGeTol& tol = AcGeContext::gTol 
Input tolerance 
Description

The intersection class constructor references surface objects, but the intersection object does not own them. The surface objects are linked to the intersection object. On deletion or modification of one of them, internal intersection results are marked as invalid and to be re-computed. 

Computation of the intersection does not happen on construction or set(), but on demand from one of the query functions. 

Any output geometry from an intersection object is owned by the caller. The const base objects returned by surface1() and surface2() are not considered output objects. 

 

Links