Represents a line segment.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)

Syntax

C#
[SerializableAttribute]
public class LineSegmentShape : ConvexShape
Visual Basic
<SerializableAttribute> _
Public Class LineSegmentShape _
	Inherits ConvexShape
Visual C++
[SerializableAttribute]
public ref class LineSegmentShape : public ConvexShape

Remarks

This class can be used if an IGeometricObject with a line segment shape is needed. Use the LineSegment structure instead if you need a lightweight representation of a line segment (avoids allocating memory on the heap).

Inheritance Hierarchy

System..::..Object
  DigitalRune.Geometry.Shapes..::..Shape
    DigitalRune.Geometry.Shapes..::..ConvexShape
      DigitalRune.Geometry.Shapes..::..LineSegmentShape

See Also