R20: Not draw NAN points. Add kMgSnapPerpNear, onShapeCanMovedHandle, getSkipDrawIds and isDegenerate.