Constructor SmartPoint2D
SmartPoint2D(SmartPoint2DType, Point2D?, ElementId, ItemLabel)
Initializes a new instance of the SmartPoint2D class.
Declaration
public SmartPoint2D(SmartPoint2DType inType, Point2D? inGeometry, ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartPoint2DType | inType | Type of smart point. |
| Point2D? | inGeometry | Geometry, 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. |
SmartPoint2D(Point2D)
Initializes a new instance of the SmartPoint2D class of type Basic.
Declaration
public SmartPoint2D(Point2D inGeometry)
Parameters
| Type | Name | Description |
|---|---|---|
| Point2D | inGeometry | Geometry. |
SmartPoint2D(ElementId)
Initializes a new instance of the SmartPoint2D class of type Element.
Declaration
public SmartPoint2D(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
SmartPoint2D(ElementId, ItemLabel)
Initializes a new instance of the SmartPoint2D class of type Item.
Declaration
public SmartPoint2D(ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |