v2.37
|
|
Represents an arc in two-dimensional space, either circular or elliptic. More...
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. | |
Represents an arc in two-dimensional space, either circular or elliptic.
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 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 GetRadius | ( | [out, retval] double * | pPoint3D | ) |
Returns the radius of a circular arc.
Returns zero for elliptic arcs.
HRESULT GetRadiusA | ( | [out, retval] double * | pRadiusA | ) |
Returns the semi-major axis of an elliptic arc.
Returns the same value as GetRadius() for circular arcs.
HRESULT GetRadiusB | ( | [out, retval] double * | pRadiusB | ) |
Returns the semi-minor axis of an elliptic arc.
Returns the same value as GetRadius() for circular arcs.