Hide Table of Contents
GetArcEdgeData Method (IHatchBoundaryLoop)

Gets the specified Arc edge data for the Hatch boundary.

.NET Syntax

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

Parameters

Index
Index of the Arc edge whose data to get (see Remarks)
CenterX[out]
x coordinate of the Arc center
CenterY[out]
y coordinate of the Arc center
Radius[out]
Radius of the Arc from the center coordinates
StartAngle[out]
Angle from the chord that is tangent to the start point of the Arc
EndAngle[out]
Angle from the chord that is tangent to the end point of the Arc
IsCounterclockwiseFlag[out] or Return Value
True if the Arc 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_CirArc.

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:   GetArcEdgeData 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) 2020 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.