v2.41
 
IBaseline2DObject Interface Reference

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

Inheritance diagram for IBaseline2DObject:

Public Member Functions

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

Detailed Description

Represents a 2D baseline based object.

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

See also
IModelObject, ICurve2D, IMath

Member Function Documentation

◆ GetBaseline()

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

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

Parameters
[out]ppBaselineThe requested baseline.

◆ GetBaselineInCS()

HRESULT GetBaselineInCS ( [in] Placement2D placement2D,
[out, retval] ICurve2D ** ppBaselineInCS )

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

Parameters
[in]placement2DA coordinate system to which the 2D baseline will be transformed.
[out]ppBaselineInCSThe requested baseline in the specified coordinate system.
See also
Placement2D

◆ SetBaseline()

HRESULT SetBaseline ( [in] ICurve2D * pBaseline)

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

For now it is impossible to edit baseline of an object with dependent objects. For now you can edit baseline of all 2D baseline objects except Roof.

Parameters
[in]pBaselineNew baseline of the object.

◆ SetBaselineInCS()

HRESULT SetBaselineInCS ( [in] Placement2D placement2D,
[in] ICurve2D * pBaselineInCS )

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

For now it is impossible to edit baseline of an object with dependent objects. For now you can edit baseline of all 2D baseline objects except Roof.

Parameters
[in]placement2DA coordinate system to which the 2D baseline will be transformed.
[out]pBaselineInCSNew baseline of the object in the specified coordinate system.
See also
Placement2D