Share

getOsnapPoints Method

Overload List

Method Description
AcDbEntity::getOsnapPoints (AcDb::OsnapMode, Adesk::GsMarker, AcGePoint3d&, AcGePoint3d&, AcGeMatrix3d&, AcGePoint3dArray&, AcDbIntArray &, AcGeMatrix3d&) This function behaves exactly as its counterpart without the insertionMat parameter. Entities contained in a block will receive the block transformation in the insertionMat parameter.
AcDbEntity::getOsnapPoints (AcDb::OsnapMode, Adesk::GsMarker, AcGePoint3d&, AcGePoint3d&, AcGeMatrix3d&, AcGePoint3dArray&, AcDbIntArray &) This function must use the material provided in osnapMode, gsSelectionMark, pickPoint, lastPoint, and viewXform to determine all appropriate osnap points for the entity. It must then append all such osnap points to the snapPoints array.The snapPoints array is passed to all entities involved in the osnap operation, so it's possible that the array will already have entries in it when passed in. For this reason, it's very important that points be appended to the snapPoints array instead of assigning to any existing elements.The osnapMode argument indicates which osnap mode is involved in the operation.... more

Was this information helpful?