Visual Basic | |
---|---|
Sub GetArcEdgeData( _ ByVal Index As System.Integer, _ ByRef CenterX As System.Double, _ ByRef CenterY As System.Double, _ ByRef Radius As System.Double, _ ByRef StartAngle As System.Double, _ ByRef EndAngle As System.Double, _ ByRef 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
Get Hatch and Hatch Boundary Loop Data (C#)
Get Hatch and Hatch Boundary Loop Data (VB.NET)
Get Hatch and Hatch Boundary Loop Data (VBA)
Get Hatch and Hatch Boundary Loop Data (VB.NET)
Get Hatch and Hatch Boundary Loop Data (VBA)
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.
DraftSight V1R1.3