Constructor SmartDirection2D
SmartDirection2D(SmartDirection2DType, Direction2D?, Point2D?, ElementId, ItemLabel, bool)
Initializes a new instance of the SmartDirection2D class.
Declaration
public SmartDirection2D(SmartDirection2DType inType, Direction2D? inGeometry, Point2D? inHelpPoint, ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartDirection2DType | inType | Type of smart direction. |
| Direction2D? | inGeometry | Geometry, or null if unknown. |
| Point2D? | inHelpPoint | Help point, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
| bool | inIsReversed | Provided direction is to be reversed. |
SmartDirection2D(Direction2D, Point2D)
Initializes a new instance of the SmartDirection2D class of type Basic.
Declaration
public SmartDirection2D(Direction2D inGeometry, Point2D inHelpPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| Direction2D | inGeometry | Direction geometry. |
| Point2D | inHelpPoint | Help point. |
SmartDirection2D(ElementId, bool)
Initializes a new instance of the SmartDirection2D class of type Element.
Declaration
public SmartDirection2D(ElementId inElementId, bool inIsReversed)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| bool | inIsReversed | Provided direction is to be reversed. |
SmartDirection2D(ElementId, ItemLabel, bool)
Initializes a new instance of the SmartDirection2D class of type Item.
Declaration
public SmartDirection2D(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 direction is to be reversed. |