Constructor SmartAxis2D
SmartAxis2D(SmartAxis2DType, Axis2D?, double?, double?, ElementId, ItemLabel, bool)
Initializes a new instance of the SmartAxis2D class.
Declaration
public SmartAxis2D(SmartAxis2DType inType, Axis2D? inGeometry, double? inExtentMin, double? inExtentMax, ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartAxis2DType | inType | Type of smart axis. |
| Axis2D? | inGeometry | Geometry, or null if unknown. |
| double? | inExtentMin | Minimum axis coordinate of extent, or null if unknown. |
| double? | inExtentMax | Maximum axis coordinate of extent, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty if none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty if none. |
| bool | inIsReversed | Provided axis direction is to be reversed. |
SmartAxis2D(Axis2D, double, double)
Initializes a new instance of the SmartAxis2D class of type Basic.
Declaration
public SmartAxis2D(Axis2D inGeometry, double inExtentXMin, double inExtentXMax)
Parameters
| Type | Name | Description |
|---|---|---|
| Axis2D | inGeometry | Geometry. |
| double | inExtentXMin | Minimum X coordinate of extent. |
| double | inExtentXMax | Maximum X coordinate of extent. |
SmartAxis2D(ElementId, bool)
Initializes a new instance of the SmartAxis2D class of type Element.
Declaration
public SmartAxis2D(ElementId inElementId, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| bool | inIsReversed | Provided axis direction is to be reversed. |
SmartAxis2D(ElementId, ItemLabel, bool)
Initializes a new instance of the SmartAxis2D class of type Item.
Declaration
public SmartAxis2D(ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |
| bool | inIsReversed | Provided axis direction is to be reversed. |