Calculates the coordinates of the midpoint.
Syntax: |
---|
DlxSegment.MidPoint() |
Return Value
A DlxPoint object with the coordinates of the midpoint.
Example
Copy code | |
---|---|
var seg = new DlxSegment(10, 20, 50, 60);
var p = seg.MidPoint();
DlxApp.Printf("x=%.1f y=%.1f", p.x, p.y);
|