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
FromPointFromPoint is a parameter of type IPoint
ToPointToPoint is a parameter of type IPoint
suggestedEnvelopesuggestedEnvelope is a parameter of type IEnvelope
orientationorientation is a parameter of type esriArcOrientation
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
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.
Remarks