Share

AcGeSurfSurfInt::AcGeSurfSurfInt

C++

AcGeSurfSurfInt(
    const AcGeSurface& srf1, 
    const AcGeSurface& srf2, 
    const AcGeTol& tol = AcGeContext::gTol
);

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.

Parameters

Parameters Description
srf1 Input first surface object
srf2 Input second surface object
tol Input tolerance

Links

AcGeSurfSurfInt

Was this information helpful?