InsertEllipseRotation Method (ISketchManager)

InsertEllipseRotation Method (ISketchManager) | Send Feedback
See Also Example

EllipseArc[out]
  Ellipse

X1
  x coordinate of first axis end point

Y1
  y coordinate of first axis end point

X2
  x coordinate of second axis end point

Y2
  y coordinate of second axis end point

Rotation
  Angle of rotation; a value between 0° and 89.9° in radians

Constructs an Ellipse using the specified axes end points and the angle of rotation.

# Syntax

Visual Basic |
--- | ---
    Function InsertEllipseRotation( _
       ByVal X1 As System.Double, _
       ByVal Y1 As System.Double, _
       ByVal X2 As System.Double, _
       ByVal Y2 As System.Double, _
       ByVal Rotation As System.Double _
    ) As EllipseArc

C# |
--- | ---
    EllipseArc InsertEllipseRotation(
       System.double X1,
       System.double Y1,
       System.double X2,
       System.double Y2,
       System.double Rotation
    )

JavaScript |
--- | ---
    InsertEllipseRotation(
       X1 : Number,
       Y1 : Number,
       X2 : Number,
       Y2 : Number,
       Rotation : Number
    ) : dsEllipseArc

COM native C++ |
--- | ---
    HRESULT InsertEllipseRotation(
       DOUBLE X1,
       DOUBLE Y1,
       DOUBLE X2,
       DOUBLE Y2,
       DOUBLE Rotation,
       IEllipseArc** EllipseArc
    )

C++ |
--- | ---
    DSRESULT InsertEllipseRotation(
       double X1,
       double Y1,
       double X2,
       double Y2,
       double Rotation,
       dsEllipseArc** EllipseArc
    )

#### Parameters

X1
  x coordinate of first axis end point
Y1
  y coordinate of first axis end point
X2
  x coordinate of second axis end point
Y2
  y coordinate of second axis end point
Rotation
  Angle of rotation; a value between 0° and 89.9° in radians
EllipseArc[out] or Return Value
  Ellipse

# Example

Construct Ellipses and Elliptical Arcs (C#)
Construct Ellipses and Elliptical Arcs (VB.NET)
Construct Ellipses and Elliptical Arcs (VBA)

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::InsertEllipseDistanceToOtherAxis Method
ISketchManager::InsertEllipseArcRotation Method

# Availability

DraftSight V1R1.1