tsc_IPolylineVisitor

This "visitor" interface used to enumerate the component parts from a tsc_Polyline. When tsc_PolylineParts::VisitEach() is called, a single call is made to a method of this interface to read each part, in sequence, from the polyline. Which method is called depends on the type of that part.

This interface ensures that calling code will both:

virtual void VisitLine (const tsc_Grid& start, const tsc_Grid& end) = 0;
This method is called once for each line in the polyline.

virtual void VisitArc (const tsc_Grid& start, const tsc_Grid& mid, const tsc_Grid& end) = 0;
This method is called once for each arc in the polyline.