The DlxSegment defines a part of a line that is bounded by two distinct end points.

Inheritance Hierarchy

Object
    DlxSegment

Properties

Name Description
p1 A DlxPoint object with the coordinates specifying the start point.
p2 A DlxPoint object with the coordinates specifying the end point.

Constructors

Name Description
DlxSegment Constructs a DlxSegment object.

Methods

Name Description
ArcAngle Calculates the angle of the arc of a circle.
CopySegment Copies a DlxSegment object.
Length Calculate the length of the segment.
Invalidate Invalidate the segment.
IsValid Check that the segment is valid.
MidPoint Calculates the coordinates of the midpoint.

See also