Select to view content in your preferred language

how to hittest with z value

956
3
04-16-2014 06:31 AM
zszs
by
Deactivated User
i use IHitTest to get distance, a point has z value hittest a polyline has z value ,but the result distance just computed via x and y value,does not use z to do hitttest.
how to hittest use z value.thanks
0 Kudos
3 Replies
NeilClemmons
Honored Contributor
I don't believe there is a way through ArcObjects to do a 3D hit test but if you just want to get the distance between two geometries you can use IProximityOperator3D.
0 Kudos
zszs
by
Deactivated User
thanks a lot
actually,i need 3d hittest,and get the hitpoint,is there a way to solve this problem
0 Kudos
NeilClemmons
Honored Contributor
As I said, I don't believe there is an ArcObjects method for doing this.  It's just math though.  A quick Google search should link you to an answer.
0 Kudos