Hi Jeremy,
he says:
"I have 2 points (A and B) on ellipse curve and ellipse curve."
So in fact he could just hand over the original Ellipse's properties to the new Ellipse's constructor.
Thus, only the startParameter and endParameter values are to be calculated.
I think there are at least two ways to get there.
First, use originalEllipse.Project(firstPoint).Parameter
Second, create a line by the two points.
Intersect line and originalEllipse.
The intersection result also provides the parameter.
Both the constructor and the Project/Intersect methods use raw parameters, so I think the values can be used without originalEllipse.ComputeNormalizedParameter() in between.
Ah, of course the two points define two possible elliptical segments.
One could create both (by switching start and end parameters?) and choose the shorter one 😉
Rudi