Hide Table of Contents
GetEllipseEdgeData Method (IHatchBoundaryLoop)

Gets the specified Ellipse edge data for the Hatch boundary.

.NET Syntax

Visual Basic (Declaration) 
Sub GetEllipseEdgeData( _
   long Index As System.Integer, _
   double* CenterX As System.Double, _
   double* CenterY As System.Double, _
   double* MajorAxisX As System.Double, _
   double* MajorAxisY As System.Double, _
   double* MinorAxisLengthRatio As System.Double, _
   double* StartAngle As System.Double, _
   double* EndAngle As System.Double, _
   bool* IsCounterclockwiseFlag As System.Boolean _
) 
C# 
void GetEllipseEdgeData( 
   System.int Index,
   out System.double CenterX,
   out System.double CenterY,
   out System.double MajorAxisX,
   out System.double MajorAxisY,
   out System.double MinorAxisLengthRatio,
   out System.double StartAngle,
   out System.double EndAngle,
   out System.bool IsCounterclockwiseFlag
)
JavaScript 
GetEllipseEdgeData( 
   Index : Number
) : {
   CenterX : Number,
   CenterY : Number,
   MajorAxisX : Number,
   MajorAxisY : Number,
   MinorAxisLengthRatio : Number,
   StartAngle : Number,
   EndAngle : Number,
   IsCounterclockwiseFlag : Boolean
}
COM native C++ 
HRESULT GetEllipseEdgeData( 
   LONG Index,
   DOUBLE* CenterX,
   DOUBLE* CenterY,
   DOUBLE* MajorAxisX,
   DOUBLE* MajorAxisY,
   DOUBLE* MinorAxisLengthRatio,
   DOUBLE* StartAngle,
   DOUBLE* EndAngle,
   VARIANT_BOOL* IsCounterclockwiseFlag
) 
C++ 
DSRESULT GetEllipseEdgeData( 
   long Index,
   double* CenterX,
   double* CenterY,
   double* MajorAxisX,
   double* MajorAxisY,
   double* MinorAxisLengthRatio,
   double* StartAngle,
   double* EndAngle,
   bool* IsCounterclockwiseFlag
) 

Parameters

Index
Index of the Ellipse edge whose data to get
CenterX[out]
x coordinate of the Ellipse center
CenterY[out]
y coordinate of the Ellipse center
MajorAxisX[out]
x coordinate of a point on the major axis of the Ellipse
MajorAxisY[out]
y coordinate of a point on the major axis of the Ellipse
MinorAxisLengthRatio[out]
Ratio of the length of the minor axis to the major axis
StartAngle[out]
Angle from the chord that is tangent to the start point of the Ellipse
EndAngle[out]
Angle from the chord that is tangent to the end point of the Ellipse
IsCounterclockwiseFlag[out] or Return Value
True if the Ellipse is drawn in a counterclockwise direction, false if in a clockwise direction

Example

Remarks

This method is valid only when IHatchBoundaryLoop::GetEdgeType is dsHatchEdgeType_e.dsHatchEdgeType_EllArc.

Before calling this method, call IHatchBoundaryLoop::GetEdgesCount to determine a valid value for Index.

 

See Also

Availability

DraftSight V1R1.3


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   GetEllipseEdgeData Method (IHatchBoundaryLoop)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2022 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.