![]() | Line Structure |
Namespace: DigitalRune.Geometry.Shapes
The Line type exposes the following members.
Name | Description | |
---|---|---|
![]() | Line(LineShape) |
Initializes a new instance of Line from a LineShape.
|
![]() | Line(Vector3F, Vector3F) |
Initializes a new instance of Line from a point and a direction.
|
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Overrides ValueTypeEquals(Object).) |
![]() | Equals(Line) |
Determines whether the specified Line is equal to the current
Line.
|
![]() | GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | (Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Tests if two Lines are equal.
|
![]() ![]() | Inequality |
Tests if two Lines are different.
|
Name | Description | |
---|---|---|
![]() | Direction |
The normalized direction vector.
|
![]() | PointOnLine |
A point on the line.
|
This is a lightweight structure. To define a line shape for IGeometricObject use LineShape.
Two Lines are considered as equal if the fields PointOnLine and Direction are equal.