This post has NOT been accepted by the mailing list yet.
I try to adapt boost::geometry for splines, arcs
Help me please solve a problems:
SegmentPoint(const SegmentPoint & sp) // Copy constructor
SegmentPoint() // Constructor without parameters
segmentNum = -1;
SegmentPoint(double ax, double ay, ...) // Constructor with parameters
Constructor with parameters is called outside union( intersectction, ...) -
in my code.
Others are called inside boost.
Copy constructor - it's ok.
It is posible to specialize boost::geometry code (without changing a source boost code)
to construct SegmentPoint - result of intersection two segments,
using SegmentPoint's a и b ?
SegmentPoint inside = GetPointOnSegment ( a, b, intersectionParameter);
or something it seems ?
Problem #2: (not really important, but nevertheless)
SegmentPoint is used in Box.
It is posible use in Box more simply class ? point_xy, for example.