IEdge Class

The base class for edges.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public abstract class IEdge : IBoundable, 
	InterfaceEdge
Inheritance
Object    IEdge
Derived
Implements
IBoundable, InterfaceEdge

Properties

Begin start point of the edge
End endpoint of the edge
Type Type of the edge

Methods

Distance(IEdge, IEdge, PointD, PointD) Calculates the Distance between two IEdges
Distance(InterfaceEdge, InterfaceEdge, PointD, PointD) Calculates the Distance between two IEdges
GetBounds bounds of the edge
GetIntersectingPoints(IEdge, IEdge, PointD, PointD) Returns true if the two IEdges intersect
GetIntersectingPoints(InterfaceEdge, InterfaceEdge, PointD, PointD) Returns true if the two IEdges intersect
GetMidPoint middle point of the edge
GetXValue calculate the X value of given Y value. (works only for lines and arcs smaller 180 degree)
RecalcBounds Set the bounds back, to update them by next GetBounds() call.
Split cut element in two pices.
ToString Overwrite ToString() for better reading details.
(Overrides ObjectToString)

Extension Methods

See Also