How determine snappoint's type

I implement a derived class of GetPoint, which support picking point on any surface,


Now I want to display text when picked point is a end/center/mid point/…, I don’t find any existed api can do these judgement, while GetPoint can give such prompt.
image

Are there any suggestions?
Thanks!

Use GetPoint.OsnapEventType.

– Dale

Thanks, it solve my problem.