Share

boundingBoxIntersectWith Method

Overload List

Method Description
AcDbEntity::boundingBoxIntersectWith (AcDbEntity*, AcDb::Intersect, AcGePlane&, AcGePoint3dArray&, Adesk::GsMarker, Adesk::GsMarker) This function projects the bounding box edges of this entity and the pEnt entity onto the projPlane, finds the intersection points, and then projects the intersection points back onto the appropriate bounding box edge of this entity. So, all points appended to the points array will be on the bounding box edges of this entity. The projections are done parallel to the projPlane's normal vector.The possible AcDb::Intersect values for intType are:
AcDbEntity::boundingBoxIntersectWith (AcDbEntity*, AcDb::Intersect, AcGePoint3dArray&, Adesk::GsMarker, Adesk::GsMarker) This method first calculates the bounding box for this entity (in WCS coordinates) by calling the entity's getGeomExtents() method (so if this method has not been overridden with a valid implementation, then the return status of Acad::eInvalidExtents will be returned by this function). It then finds the intersections of the entity pointed to by pEnt and all the edges of the bounding box of this entity.The intType is used to determine how to deal with extending the boundary edges or the pEnt entity in order to calculate intersections. The possible AcDb::Intersect values are:

Was this information helpful?