Class Edge
Edge represents the side of a Polygon. An Edge contains only the first point of the side; the second point is the point on the next edge of a Polygon.
Inheritance
Inherited Members
Namespace: DesignData.SDS2.Primitives
Assembly: DesignData.SDS2.Primitives.dll
Syntax
public sealed class Edge
  Constructors
Edge(Point3D, Boolean, Boolean, UInt32, Int32, Int32, Boolean, Boolean)
Create an Edge for a Polygon.
Declaration
public Edge(Point3D vertexLocation, bool noShort = true, bool onRadius = false, uint vertexName = 0U, int edgeType = 0, int radiusNumber = 0, bool duplicate = false, bool fit = false)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Point3D | vertexLocation | Assigned to first vertex of an Edge  | 
      
| System.Boolean | noShort | Indicates the edge will not be shortened by the Shorten tool in Detailing.  | 
      
| System.Boolean | onRadius | Indicates edge is on a rounded surface.  | 
      
| System.UInt32 | vertexName | A bit field containing information used by template detailing.  | 
      
| System.Int32 | edgeType | Typically 1 for lengthwise edges and 0 otherwise.  | 
      
| System.Int32 | radiusNumber | The number of an edge on a curved surface.  | 
      
| System.Boolean | duplicate | Indicates a duplicate edge.  | 
      
| System.Boolean | fit | Indicates an edge has been created by a cut or fit operation.  | 
      
Properties
EdgeType
Typically 1 for lengthwise edges and 0 otherwise.
Declaration
public int EdgeType { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
IsDuplicate
Indicates a duplicate edge. IsDuplicate edges are not drawn.
Declaration
public bool IsDuplicate { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
IsFitted
Indicates an edge has been created by a cut or fit operation.
Declaration
public bool IsFitted { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
IsNoShort
Indicates the edge will not be shortened by the Shorten tool in Detailing.
Declaration
public bool IsNoShort { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
IsOnRadius
Indicates edge is on a rounded surface. For example, lengthwise edges in the K of a Wide Flange, but not edges in the K on cap polygons. IsOnRadius edges are not drawn.
Declaration
public bool IsOnRadius { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
RadiusNumber
Edges of a rounded surface may be numbered consecutively. For example, lengthwise edges in the K of a Wide Flange, but not edges in the K on cap polygons.
Declaration
public int RadiusNumber { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
VertexLocation
VertexLocation is the location of the first vertex of an Edge. The second vertex is the vertex specified by the next Edge.
Declaration
public Point3D VertexLocation { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Point3D | 
VertexName
A bit field containing information used by template detailing.
Declaration
public uint VertexName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.UInt32 | 
Methods
Equals(Edge, Double)
Declaration
public bool Equals(Edge edge, double accy)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Edge | edge | |
| System.Double | accy | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Equals(Object)
Declaration
public override bool Equals(object other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | other | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
Finalize()
Declaration
protected void Finalize()
  GetHashCode()
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| System.Int32 |