how to hittest with z value

707
3
04-16-2014 06:31 AM
zszs
by
New Contributor III
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
Regular Contributor III
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
New Contributor III
thanks a lot
actually,i need 3d hittest,and get the hitpoint,is there a way to solve this problem
0 Kudos
NeilClemmons
Regular Contributor III
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