path - How to get Point.X at a Point.Y on a FlattenPathGeometry - WPF -
i have "flattenedpathgeometry" , want able specific point.x path based on specific point.y
basically need x value @ given y.
thanks in advance help.
getflattenedpathgeometry gives polygonal have consider loop points , calculating minimum distance point. if can make assumption on geometry shape or point, can speed search.
for example if path long, can speed intersecting shape circle/square centered in point. limit number of points of shape test careful intersection method expensive. you'll have measure performances stopwatch understand what's better in case.
Comments
Post a Comment