IArcEdge Class

Define an arc for polygon outlines.

Definition

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

Constructors

IArcEdge(PointD, PointD, PointD) Create a new IArcEdge with start, end and center. Internal the arcedges has less equal or then 90 degree.
IArcEdge(PointD, PointD, PointD, Double, Boolean) Create a new IArcEdge with start, end and center. Internal the arcedges has less equal or then 90 degree.

Properties

Begin start point of the edge
(Inherited from IEdge)
Center center point of arc
ClockWise direction of arc
End endpoint of the edge
(Inherited from IEdge)
Radius radius of arc
Type Type is always arc.
(Overrides IEdgeType)

Methods

Flatten splitt the arc in small line elements with length "lineLenght".
GetBounds bounds of the edge
(Inherited from IEdge)
GetMidPoint middle point of the edge
(Inherited from IEdge)
GetXValue calculate the X value of given Y value. (works only for lines and arcs smaller 180 degree)
(Inherited from IEdge)
IsPointOnArc calculate wether the point is on the arc
RecalcBounds Set the bounds back, to update them by next GetBounds() call.
(Inherited from IEdge)
Split cut element in two pices.
(Inherited from IEdge)
SplitArc Split this arc in smaller elements depending on the ArcLength parameter.
ToString Overwrite ToString() for better reading details.
(Inherited from IEdge)

Extension Methods

See Also