private Point GetClosestPointOnShape(Shape shape, Point pt) { StepShape stepShape = GetShapeParent(shape); List <Point> points = stepShape.GetPoints(GetStepShapeParent(stepShape).Duration); return(Utilities.GetClosestPointInList(pt, points)); }
public List <Point> GetPoints() { return(StepShape.GetPoints(_duration)); }