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.
Inherited Members
Namespace: DesignData.SDS2.Primitives
Assembly: DesignData.SDS2.Primitives.dll
Syntax
public sealed class Edge
Constructors
Edge(Point3D, bool, bool, uint, int, int, bool, bool)
Create an Edge for a Polygon.
Declaration
public Edge(Point3D vertexLocation, bool noShort = true, bool onRadius = false, uint vertexName = 0, 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 |
| bool | noShort | Indicates the edge will not be shortened by the Shorten tool in Detailing. |
| bool | onRadius | Indicates edge is on a rounded surface. |
| uint | vertexName | A bit field containing information used by template detailing. |
| int | edgeType | Typically 1 for lengthwise edges and 0 otherwise. |
| int | radiusNumber | The number of an edge on a curved surface. |
| bool | duplicate | Indicates a duplicate edge. |
| bool | 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 |
|---|---|
| int |
IsDuplicate
Indicates a duplicate edge. IsDuplicate edges are not drawn.
Declaration
public bool IsDuplicate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsFitted
Indicates an edge has been created by a cut or fit operation.
Declaration
public bool IsFitted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsNoShort
Indicates the edge will not be shortened by the Shorten tool in Detailing.
Declaration
public bool IsNoShort { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |
|---|---|
| bool |
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 |
|---|---|
| int |
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 |
|---|---|
| uint |
Methods
Equals(Edge, double)
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.
Declaration
public bool Equals(Edge edge, double accy)
Parameters
| Type | Name | Description |
|---|---|---|
| Edge | edge | |
| double | accy |
Returns
| Type | Description |
|---|---|
| bool |
Equals(object)
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.
Declaration
public override bool Equals(object other)
Parameters
| Type | Name | Description |
|---|---|---|
| object | other |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
~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.
Declaration
protected ~Edge()
GetHashCode()
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.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |