Gentlemen (and Ladies):
In handling data from an HPGL file, in order to connect the non-ordered segments of a shape which closed on itself, I plan to find the starting and endpints of each segment, save these in an array, and then search the array to find the matching segment start or endpoint to connect adjacent segments.
Since the total segments may be 5 or 5000, how should I DIMension the array? Each element will look like: [PA12345,23456;PD] or [PA12345,23456;PU PA34567,45678; PD]
Hope this is enough data!
Regards,
Jack C.
In handling data from an HPGL file, in order to connect the non-ordered segments of a shape which closed on itself, I plan to find the starting and endpints of each segment, save these in an array, and then search the array to find the matching segment start or endpoint to connect adjacent segments.
Since the total segments may be 5 or 5000, how should I DIMension the array? Each element will look like: [PA12345,23456;PD] or [PA12345,23456;PU PA34567,45678; PD]
Hope this is enough data!
Regards,
Jack C.