Class SmartPoint2D
Represents a 2D smart point.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 7, 0, 0)]
public class SmartPoint2D : SmartObject
Remarks
This class is available since v7.7.
Constructors
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. |
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(SmartPoint2DType, Nullable<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. |
Nullable<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. |
Fields
ElementId
Providing element identifier, or empty if none.
Declaration
public ElementId ElementId
Field Value
Type | Description |
---|---|
ElementId |
Geometry
Geometry, or null if unknown.
Declaration
public Point2D? Geometry
Field Value
Type | Description |
---|---|
Nullable<Point2D> |
ItemLabel
Providing element item label, or empty if none.
Declaration
public ItemLabel ItemLabel
Field Value
Type | Description |
---|---|
ItemLabel |
P0
Origin point, i.e. (0,0).
Declaration
public static readonly SmartPoint2D P0
Field Value
Type | Description |
---|---|
SmartPoint2D |
Type
Type of point.
Declaration
public SmartPoint2DType Type
Field Value
Type | Description |
---|---|
SmartPoint2DType |