Search Results for

    Show / Hide Table of Contents

    Class SmartDirection3D

    Represents a 3D smart direction.

    Inheritance
    System.Object
    SmartObject
    SmartDirection3D
    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, 6, 0, 0)]
    public class SmartDirection3D : SmartObject
    Remarks

    This class is available since v7.6.

    Constructors

    SmartDirection3D(Direction3D, Point3D)

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

    Declaration
    public SmartDirection3D(Direction3D inGeometry, Point3D inHelpPoint)
    Parameters
    Type Name Description
    Direction3D inGeometry

    Direction geometry.

    Point3D inHelpPoint

    Help point.

    SmartDirection3D(ElementId, Boolean)

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

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

    Identifier of providing element.

    System.Boolean inIsReversed

    Provided direction is to be reversed.

    SmartDirection3D(ElementId, ItemLabel, Boolean)

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

    Declaration
    public SmartDirection3D(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 direction is to be reversed.

    SmartDirection3D(SmartDirection3DType, Nullable<Direction3D>, Nullable<Point3D>, ElementId, ItemLabel, Boolean)

    Initializes a new instance of the SmartDirection3D class.

    Declaration
    public SmartDirection3D(SmartDirection3DType inType, Direction3D? inGeometry, Point3D? inHelpPoint, ElementId inElementId, ItemLabel inItemLabel, bool inIsReversed)
    Parameters
    Type Name Description
    SmartDirection3DType inType

    Type of smart direction.

    System.Nullable<Direction3D> inGeometry

    Geometry, or null if unknown.

    System.Nullable<Point3D> inHelpPoint

    Help point, or null if unknown.

    ElementId inElementId

    Identifier of providing element, or Empty for none.

    ItemLabel inItemLabel

    Label of providing element item, or Empty for none.

    System.Boolean inIsReversed

    Provided direction is to be reversed.

    Fields

    DX

    Positive X direction, i.e. (1,0,0).

    Declaration
    public static readonly SmartDirection3D DX
    Field Value
    Type Description
    SmartDirection3D

    DY

    Positive Y direction, i.e. (0,1,0).

    Declaration
    public static readonly SmartDirection3D DY
    Field Value
    Type Description
    SmartDirection3D

    DZ

    Positive Z direction, i.e. (0,0,1).

    Declaration
    public static readonly SmartDirection3D DZ
    Field Value
    Type Description
    SmartDirection3D

    ElementId

    Providing element identifier, or empty if none.

    Declaration
    public ElementId ElementId
    Field Value
    Type Description
    ElementId

    Geometry

    Direction geometry, or null if unknown.

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

    HelpPoint

    Help point, or null if unknown.

    Declaration
    public Point3D? HelpPoint
    Field Value
    Type Description
    System.Nullable<Point3D>

    IsReversed

    Whether the provided 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

    Type

    Type of smart direction.

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

    Copyright © 2024 TopSolid Tous droits réservés