v2.37
 
IArc2D Interface Reference

Represents an arc in two-dimensional space, either circular or elliptic. More...

Inheritance diagram for IArc2D:

Public Member Functions

HRESULT GetBeginAngle ([out, retval] double *pAngle)
 Returns the start angle of the arc, counting from the positive direction of local placement's X axis towards the positive direction of local placement's Y axis.
 
HRESULT GetBeginGlobalAngle ([out, retval] double *pAngle)
 Returns the start angle of the arc, counting from the positive direction of global placement's X axis towards the positive direction of global placement's Y axis.
 
HRESULT GetCenter ([out, retval] Point2D *pCenter)
 Returns the center point of the arc. It is equal to the origin of the arc placement.
 
HRESULT GetEndAngle ([out, retval] double *pAngle)
 Returns the end angle of the arc, counting from the positive direction of local placement's X axis towards the positive direction of local placement's Y axis.
 
HRESULT GetEndGlobalAngle ([out, retval] double *pAngle)
 Returns the end angle of the arc, counting from the positive direction of global placement's X axis towards the positive direction of placement's Y axis.
 
HRESULT GetPlacement ([out, retval] IPlacement2D **ppPlacement2D)
 Returns the placement of the arc.
 
HRESULT GetRadius ([out, retval] double *pPoint3D)
 Returns the radius of a circular arc.
 
HRESULT GetRadiusA ([out, retval] double *pRadiusA)
 Returns the semi-major axis of an elliptic arc.
 
HRESULT GetRadiusB ([out, retval] double *pRadiusB)
 Returns the semi-minor axis of an elliptic arc.
 
HRESULT IsCircular ([out, retval] VARIANT_BOOL *pResult)
 Checks if the arc is circular.
 
HRESULT IsClockwise ([out, retval] VARIANT_BOOL *pResult)
 Returns the direction of the arc.
 

Detailed Description

Represents an arc in two-dimensional space, either circular or elliptic.

Member Function Documentation

◆ GetBeginAngle()

HRESULT GetBeginAngle ( [out, retval] double * pAngle)

Returns the start angle of the arc, counting from the positive direction of local placement's X axis towards the positive direction of local placement's Y axis.

See also
GetPlacement()

◆ GetCenter()

HRESULT GetCenter ( [out, retval] Point2D * pCenter)

Returns the center point of the arc. It is equal to the origin of the arc placement.

See also
GetPlacement()

◆ GetEndAngle()

HRESULT GetEndAngle ( [out, retval] double * pAngle)

Returns the end angle of the arc, counting from the positive direction of local placement's X axis towards the positive direction of local placement's Y axis.

See also
GetPlacement()

◆ GetRadius()

HRESULT GetRadius ( [out, retval] double * pPoint3D)

Returns the radius of a circular arc.

Returns zero for elliptic arcs.

◆ GetRadiusA()

HRESULT GetRadiusA ( [out, retval] double * pRadiusA)

Returns the semi-major axis of an elliptic arc.

Returns the same value as GetRadius() for circular arcs.

◆ GetRadiusB()

HRESULT GetRadiusB ( [out, retval] double * pRadiusB)

Returns the semi-minor axis of an elliptic arc.

Returns the same value as GetRadius() for circular arcs.