v2.44
 
IBaseline3DObject Interface Reference

Represents a 3D baseline based object. More...

Public Member Functions

HRESULT GetBaseline ([out, retval] ICurve3D **ppBaseline)
 Returns the copy of the 3D baseline of the object in its own coordinate system.
 
HRESULT GetBaselineInCS ([in] Placement3D placement3D, [out, retval] ICurve3D **ppBaselineInCS)
 Returns the copy of the 3D baseline of the object in the specified coordinate system.
 
HRESULT SetBaseline ([in] ICurve3D *pBaseline)
 Sets the 3D baseline of the object in its own coordinate system.
 
HRESULT SetBaselineInCS ([in] Placement3D placement3D, [in] ICurve3D *pBaselineInCS)
 Sets the 3D baseline of the object in the specified coordinate system.
 

Detailed Description

Represents a 3D baseline based object.

Use this interface to control the 3D baseline of an object. This interface can be obtained as an additional interface from IModelObject.

See also
IModelObject, ICurve3D, IMath

Member Function Documentation

◆ GetBaseline()

HRESULT GetBaseline ( [out, retval] ICurve3D ** ppBaseline)

Returns the copy of the 3D baseline of the object in its own coordinate system.

Parameters
[out]ppBaselineThe requested baseline.

◆ GetBaselineInCS()

HRESULT GetBaselineInCS ( [in] Placement3D placement3D,
[out, retval] ICurve3D ** ppBaselineInCS )

Returns the copy of the 3D baseline of the object in the specified coordinate system.

Parameters
[in]placement3DA coordinate system to which the 3D baseline will be transformed.
[out]ppBaselineInCSThe requested baseline in the specified coordinate system.
See also
Placement3D

◆ SetBaseline()

HRESULT SetBaseline ( [in] ICurve3D * pBaseline)

Sets the 3D baseline of the object in its own coordinate system.

Note
For now it is impossible to edit baseline of an object with dependent objects.
Parameters
[in]pBaselineNew baseline of the object.

◆ SetBaselineInCS()

HRESULT SetBaselineInCS ( [in] Placement3D placement3D,
[in] ICurve3D * pBaselineInCS )

Sets the 3D baseline of the object in the specified coordinate system.

Note
For now it is impossible to edit baseline of an object with dependent objects.
Parameters
[in]placement3DA coordinate system of established baseline.
[out]pBaselineInCSNew baseline of the object in the specified coordinate system.
See also
Placement3D