im starting a trace from a random location so i want to know if the location is inside an object to cancel it .