This document is archived and information here might be outdated. Recommended version. |
Construct an elliptic arc that starts at fromPoint, goes to toPoint, and tries to have the embedded ellipse inscribed in the suggestedEnvelope. The result will have rotation of 0 or pi/2.
[Visual Basic .NET] Public Sub ConstructTwoPointsEnvelope ( _ ByVal FromPoint As IPoint, _ ByVal ToPoint As IPoint, _ ByVal suggestedEnvelope As IEnvelope, _ ByVal orientation As esriArcOrientation _ )
[C#] public void ConstructTwoPointsEnvelope ( IPoint FromPoint, IPoint ToPoint, IEnvelope suggestedEnvelope, esriArcOrientation orientation );
[C++]
HRESULT ConstructTwoPointsEnvelope(
IPoint* FromPoint,
IPoint* ToPoint,
IEnvelope* suggestedEnvelope,
esriArcOrientation orientation
);
[C++]
Parameters FromPoint
FromPoint is a parameter of type IPoint* ToPoint
ToPoint is a parameter of type IPoint* suggestedEnvelope
suggestedEnvelope is a parameter of type IEnvelope* orientation
orientation is a parameter of type esriArcOrientation
ConstructTwoPointsEnvelope constructs an EllipticArc given the From and To Points and a suggested Envelope as input. The constructed EllipticArc has characteristics similar to the full ellipse defined by the input Envelope. The final EllipticArc may vary slightly from the input Envelope depending on how well the input Points fit the suggested EllipticArc.