Class SmartAxis3D
Represents a 3D smart axis.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 6, 0, 0)]
public class SmartAxis3D : SmartObject
Remarks
This class is available since v7.6.
Constructors
SmartAxis3D(Axis3D, Double, Double)
Initializes a new instance of the SmartAxis3D class of type Basic.
Declaration
public SmartAxis3D(Axis3D inGeometry, double inExtentXMin, double inExtentXMax)
Parameters
Type | Name | Description |
---|---|---|
Axis3D | inGeometry | Geometry. |
Double | inExtentXMin | Minimum X coordinate of extent. |
Double | inExtentXMax | Maximum X coordinate of extent. |
SmartAxis3D(ElementId, Boolean)
Initializes a new instance of the SmartAxis3D class of type Element.
Declaration
public SmartAxis3D(ElementId inElementId, bool inIsReversed)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
Boolean | inIsReversed | Provided axis direction is to be reversed. |
SmartAxis3D(ElementId, ItemLabel, Boolean)
Initializes a new instance of the SmartAxis3D class of type Item.
Declaration
public SmartAxis3D(ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
ItemLabel | inItemLabel | Label of providing element item. |
Boolean | inIsReversed | Provided axis direction is to be reversed. |
SmartAxis3D(SmartAxis3DType, Nullable<Axis3D>, Nullable<Double>, Nullable<Double>, ElementId, ItemLabel, Boolean)
Initializes a new instance of the SmartAxis3D class.
Declaration
public SmartAxis3D(SmartAxis3DType inType, Axis3D? inGeometry, double? inExtentMin, double? inExtentMax, ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
Parameters
Type | Name | Description |
---|---|---|
SmartAxis3DType | inType | Type of smart axis. |
Nullable<Axis3D> | inGeometry | Geometry, or null if unknown. |
Nullable<Double> | inExtentMin | Minimum axis coordinate of extent, or null if unknown. |
Nullable<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. |
Boolean | inIsReversed | Provided axis direction is to be reversed. |
Fields
ElementId
Providing element identifier, or empty if none.
Declaration
public ElementId ElementId
Field Value
Type | Description |
---|---|
ElementId |
ExtentMax
Maximum axis coordinate of extent, or null if unknown.
Declaration
public double? ExtentMax
Field Value
Type | Description |
---|---|
Nullable<Double> |
ExtentMin
Minimum axis coordinate of extent, or null if unknown.
Declaration
public double? ExtentMin
Field Value
Type | Description |
---|---|
Nullable<Double> |
Geometry
Geometry, or null if unknown.
Declaration
public Axis3D? Geometry
Field Value
Type | Description |
---|---|
Nullable<Axis3D> |
IsReversed
Whether the provided axis direction is to be reversed.
Declaration
public bool IsReversed
Field Value
Type | Description |
---|---|
Boolean |
ItemLabel
Providing element item label, or empty if none.
Declaration
public ItemLabel ItemLabel
Field Value
Type | Description |
---|---|
ItemLabel |
OX
(O,+X) absolute axis.
Declaration
public static readonly SmartAxis3D OX
Field Value
Type | Description |
---|---|
SmartAxis3D |
OY
(O,+Y) absolute axis.
Declaration
public static readonly SmartAxis3D OY
Field Value
Type | Description |
---|---|
SmartAxis3D |
OZ
(O,+Z) absolute axis.
Declaration
public static readonly SmartAxis3D OZ
Field Value
Type | Description |
---|---|
SmartAxis3D |
Type
Type of smart axis.
Declaration
public SmartAxis3DType Type
Field Value
Type | Description |
---|---|
SmartAxis3DType |