Class SmartPoint2D
Represents a 2D smart point.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 Smart
Declaration
public SmartPoint2D(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
Element |
inElementId | Identifier of providing element. |
SmartPoint2D(ElementId, ItemLabel)
Initializes a new instance of the Smart
Declaration
public SmartPoint2D(ElementId inElementId, ItemLabel inItemLabel)
Parameters
Type | Name | Description |
---|---|---|
Element |
inElementId | Identifier of providing element. |
Item |
inItemLabel | Label of providing element item. |
SmartPoint2D(Point2D)
Initializes a new instance of the Smart
Declaration
public SmartPoint2D(Point2D inGeometry)
Parameters
Type | Name | Description |
---|---|---|
Point2D | inGeometry | Geometry. |
SmartPoint2D(SmartPoint2DType, Nullable<Point2D>, ElementId, ItemLabel)
Initializes a new instance of the Smart
Declaration
public SmartPoint2D(SmartPoint2DType inType, Point2D? inGeometry, ElementId inElementId, ItemLabel inItemLabel)
Parameters
Type | Name | Description |
---|---|---|
Smart |
inType | Type of smart point. |
System. |
inGeometry | Geometry, or null if unknown. |
Element |
inElementId | Identifier of providing element, or Empty if none. |
Item |
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 |
---|---|
Element |
Geometry
Geometry, or null if unknown.
Declaration
public Point2D? Geometry
Field Value
Type | Description |
---|---|
System. |
ItemLabel
Providing element item label, or empty if none.
Declaration
public ItemLabel ItemLabel
Field Value
Type | Description |
---|---|
Item |
P0
Origin point, i.e. (0,0).
Declaration
public static readonly SmartPoint2D P0
Field Value
Type | Description |
---|---|
Smart |
Type
Type of point.
Declaration
public SmartPoint2DType Type
Field Value
Type | Description |
---|---|
Smart |