Represents an infinite line.

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 LineShape : Shape
Visual Basic
<SerializableAttribute> _
Public Class LineShape _
	Inherits Shape
Visual C++
[SerializableAttribute]
public ref class LineShape : public Shape

Remarks

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

The line is defined using a point on the line and the direction. The Direction is always stored as a normalized vector.

Inheritance Hierarchy

System..::..Object
  DigitalRune.Geometry.Shapes..::..Shape
    DigitalRune.Geometry.Shapes..::..LineShape

See Also