Show / Hide Table of Contents

    Class Layout3DNode

    Represents one node in a Layout3D

    Inheritance
    object
    Layout3DNode
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: DesignData.SDS2.Primitives
    Assembly: DesignData.SDS2.Primitives.dll
    Syntax
    public sealed class Layout3DNode

    Constructors

    Layout3DNode()

    Create an empty Layout3DNode

    Declaration
    public Layout3DNode()

    Layout3DNode(Point3D, uint, uint, bool, double, int)

    Create a layout node from existing data

    Declaration
    public Layout3DNode(Point3D point, uint name = 0, uint face = 0, bool isInteriorEdge = false, double radius = 0, int segmentCount = 0)
    Parameters
    Type Name Description
    Point3D point
    uint name
    uint face
    bool isInteriorEdge
    double radius
    int segmentCount

    Properties

    Depth

    The direction of depth for the layout between the current and next node. Typically this should be perpendicular to the segment

    Declaration
    public Vector3D Depth { get; set; }
    Property Value
    Type Description
    Vector3D

    Face

    Represents one node in a Layout3D

    Declaration
    public uint Face { get; set; }
    Property Value
    Type Description
    uint

    IsInteriorEdge

    Represents one node in a Layout3D

    Declaration
    public bool IsInteriorEdge { get; set; }
    Property Value
    Type Description
    bool

    Name

    The "name" of the vertex generated for detailing purposes. Inside detailing templates, this vertex can be referred to by this numeric identifier

    Declaration
    public uint Name { get; set; }
    Property Value
    Type Description
    uint

    Point

    The point, in 3-dimensional space, that this node exists at

    Declaration
    public Point3D Point { get; set; }
    Property Value
    Type Description
    Point3D

    Radius

    When set, this makes this a radiused corner with a radius of radius. The final layout will be segmented to approximate this radius.

    Declaration
    public double Radius { get; set; }
    Property Value
    Type Description
    double
    Remarks

    Don't forget to set SegmentCount to something greater than 1

    SegmentCount

    The number of segments to use for this radiused corner

    Declaration
    public int SegmentCount { get; set; }
    Property Value
    Type Description
    int

    Methods

    Equals(object)

    Represents one node in a Layout3D

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    ~Layout3DNode()

    Represents one node in a Layout3D

    Declaration
    protected ~Layout3DNode()

    GetHashCode()

    Represents one node in a Layout3D

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Transform(Matrix)

    Move and rotate this node using the given matrix

    Declaration
    public void Transform(Matrix transformation)
    Parameters
    Type Name Description
    Matrix transformation
    Back to top