API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > intersectWith Method > OdModelerGeometry::intersectWith Method (OdDbEntity*, OdDb::Intersect, OdGePoint3dArray&, OdGsMarker, OdGsMarker)
OdModelerGeometry::intersectWith Method (OdDbEntity*, OdDb::Intersect, OdGePoint3dArray&, OdGsMarker, OdGsMarker)
Syntax
C++
virtual OdResult intersectWith(const OdDbEntity* ent, OdDb::Intersect intType, OdGePoint3dArray& points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const = 0;
Parameters 
Description 
const OdDbEntity* ent 
[in] An entity with which this entity is intersected.  
OdDb::Intersect intType 
[in] Type of intersection.  
OdGePoint3dArray& points 
[out] An array of points in which the intersection points should be appended.  
OdGsMarker thisGsMarker 
[in] GS marker of the subentity of this entity which is involved in the intersection.  
OdGsMarker otherGsMarker 
[in] GS marker of the subentity of the entity pointed to by pEnt which is involved in the intersection. 

This method returns eOk if successful. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.