Can we change envelope.expand parametres from double to metre??

1993
1
01-16-2014 08:05 PM
cynthiasinha
New Contributor
I wish to find all those line intersecting from point which are 8 metre away from the point.Let me expalin you what i did so far-

pEnvelope=Frompt1.envelope
pEnvelope.Expand(0.5, 0.5, true);

And then did spatial query of esrispatialintersects.The problem is envelope.expand parametre that is 0.5 is in double.I wish to change it in metre so that i can get 8 metre distance away from point .How I will do it ??
0 Kudos
1 Reply
NeilClemmons
Regular Contributor III
An envelope isn't what you really need to use if you want to only select features within a certain distance from a point.  Instead, use ITopologicalOperator.Buffer to buffer the point, creating a true circle that you can use in your spatial query.