Table of Contents

Constructor GeoEdge2

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoEdge2(GeoPoint2, GeoPoint2)

Initializes a straight edge between two points.

public GeoEdge2(GeoPoint2 startPoint, GeoPoint2 endPoint)

Parameters

startPoint GeoPoint2

Where the edge starts.

endPoint GeoPoint2

Where the edge ends.

GeoEdge2(GeoPoint2, GeoPoint2, double)

Initializes an edge between two points, straight or bulged into an arc.

public GeoEdge2(GeoPoint2 startPoint, GeoPoint2 endPoint, double bulge)

Parameters

startPoint GeoPoint2

Where the edge starts.

endPoint GeoPoint2

Where the edge ends.

bulge double

The bulge: zero for a straight segment, otherwise the tangent of a quarter of the angle the arc sweeps.

Exceptions

ArgumentOutOfRangeException

Thrown when the bulge is not a number.

GeoEdge2(GeoArc2)

Initializes the edge that draws an arc.

public GeoEdge2(GeoArc2 arc)

Parameters

arc GeoArc2

The arc to hold as an edge.

Remarks

An arc sweeping a whole turn has its two ends in the same place and cannot be told from a point by its ends alone, so it is refused: a chain says a full circle with a circle, not with an edge.

Exceptions

ArgumentOutOfRangeException

Thrown when the arc sweeps a whole turn.