Class Layout3DNode
Represents one node in a Layout3D
Inheritance
System.Object
Layout3DNode
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.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, UInt32, UInt32, Boolean, Double, Int32)
Create a layout node from existing data
Declaration
public Layout3DNode(Point3D point, uint name = 0U, uint face = 0U, bool isInteriorEdge = false, double radius = 0, int segmentCount = 0)
Parameters
Type | Name | Description |
---|---|---|
Point3D | point | |
System.UInt32 | name | |
System.UInt32 | face | |
System.Boolean | isInteriorEdge | |
System.Double | radius | |
System.Int32 | 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
Declaration
public uint Face { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
IsInteriorEdge
Declaration
public bool IsInteriorEdge { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
---|---|
System.UInt32 |
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 |
---|---|
System.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 |
---|---|
System.Int32 |
Methods
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
Finalize()
Declaration
protected void Finalize()
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.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 |