Timeline for How to find the original vertex location from the OnVertexMoved event
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2018 at 14:22 | vote | accept | danielm | ||
Jul 23, 2018 at 19:36 | answer | added | danielm | timeline score: 2 | |
Jul 23, 2018 at 19:24 | comment | added | danielm | The issue is that would require a point at the original location. I only have the new, moved location of the point, which could end up being closer to a different point than the original location. | |
Jul 23, 2018 at 18:51 | comment | added | Kirk Kuykendall |
Did you try casting source_feature to IFeatureChanges , then finding the point in OriginalShape ? To get an index for the point, try looping through each point in IEditsketch.Geometry to find closest point to e_sketch.vertex (distance should be zero).
|
|
Jul 20, 2018 at 19:51 | history | edited | danielm | CC BY-SA 4.0 |
added 21 characters in body
|
Jul 20, 2018 at 19:45 | history | asked | danielm | CC BY-SA 4.0 |