This document is archived and information here might be outdated.  Recommended version.


IConstructEllipticArc.ConstructTwoPointsEnvelope Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IConstructEllipticArc.ConstructTwoPointsEnvelope Method

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

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

 

IConstructEllipticArc ConstructTwoPointsEnvelope Example

See Also

IConstructEllipticArc Interface