Objects can have certain characteristic points defined for them, such as a center point, midpoint, or endpoint. When AutoCAD is acquiring points and is in Object Snap mode, it invokes the getOsnapPoints() function to acquire the relevant snap points for the specified Object Snap mode. The following table lists the possible Object Snap modes.
Object Snap modes |
|
---|---|
Mode |
Description |
kOsModeEnd |
Endpoint |
kOsModeMid |
Midpoint |
kOsModeCen |
Center |
kOsModeNode |
Node |
kOsModeQuad |
Quadrant |
kOsModeIns |
Insertion |
kOsModePerp |
Perpendicular |
kOsModeTan |
Tangent |
kOsModeNear |
Nearest |