v2.33
 
IArc3D Interface Reference

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

Inheritance diagram for IArc3D:

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 GetCenter ([out, retval] Point3D *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 placement's Y axis.
 
HRESULT GetPlacement ([out, retval] IPlacement3D **ppPlacement3D)
 Returns the three-dimensional placement of the two-dimensional 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.
 

Detailed Description

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

Tree-dimensional arc can be thought of as a planar arc whose position in three-dimensional space is characterised by a placement.

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] Point3D * 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 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.