Search Results for

    Show / Hide Table of Contents

    Class SmartAxis2D

    Represents a 2D smart axis.

    Inheritance
    System.Object
    SmartObject
    SmartAxis2D
    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 SmartAxis2D : SmartObject
    Remarks

    This class is available since v7.7.

    Constructors

    SmartAxis2D(Axis2D, Double, Double)

    Initializes a new instance of the SmartAxis2D class of type Basic.

    Declaration
    public SmartAxis2D(Axis2D inGeometry, double inExtentXMin, double inExtentXMax)
    Parameters
    Type Name Description
    Axis2D inGeometry

    Geometry.

    System.Double inExtentXMin

    Minimum X coordinate of extent.

    System.Double inExtentXMax

    Maximum X coordinate of extent.

    SmartAxis2D(ElementId, Boolean)

    Initializes a new instance of the SmartAxis2D class of type Element.

    Declaration
    public SmartAxis2D(ElementId inElementId, bool inIsReversed)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of providing element.

    System.Boolean inIsReversed

    Provided axis direction is to be reversed.

    SmartAxis2D(ElementId, ItemLabel, Boolean)

    Initializes a new instance of the SmartAxis2D class of type Item.

    Declaration
    public SmartAxis2D(ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of providing element.

    ItemLabel inItemLabel

    Label of providing element item.

    System.Boolean inIsReversed

    Provided axis direction is to be reversed.

    SmartAxis2D(SmartAxis2DType, Nullable<Axis2D>, Nullable<Double>, Nullable<Double>, ElementId, ItemLabel, Boolean)

    Initializes a new instance of the SmartAxis2D class.

    Declaration
    public SmartAxis2D(SmartAxis2DType inType, Axis2D? inGeometry, double? inExtentMin, double? inExtentMax, ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
    Parameters
    Type Name Description
    SmartAxis2DType inType

    Type of smart axis.

    System.Nullable<Axis2D> inGeometry

    Geometry, or null if unknown.

    System.Nullable<System.Double> inExtentMin

    Minimum axis coordinate of extent, or null if unknown.

    System.Nullable<System.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.

    System.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
    System.Nullable<System.Double>

    ExtentMin

    Minimum axis coordinate of extent, or null if unknown.

    Declaration
    public double? ExtentMin
    Field Value
    Type Description
    System.Nullable<System.Double>

    Geometry

    Geometry, or null if unknown.

    Declaration
    public Axis2D? Geometry
    Field Value
    Type Description
    System.Nullable<Axis2D>

    IsReversed

    Whether the provided axis direction is to be reversed.

    Declaration
    public bool IsReversed
    Field Value
    Type Description
    System.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 SmartAxis2D OX
    Field Value
    Type Description
    SmartAxis2D

    OY

    (O,+Y) absolute axis.

    Declaration
    public static readonly SmartAxis2D OY
    Field Value
    Type Description
    SmartAxis2D

    Type

    Type of smart axis.

    Declaration
    public SmartAxis2DType Type
    Field Value
    Type Description
    SmartAxis2DType
    In This Article
    • Mentions légales
    • C.G.U
    • Données personnelles

    Copyright © 2024 TopSolid Tous droits réservés