Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public fields | Properties | Public Member Functions | Static Public Member Functions | List of all members
Loyc.Geometry.LineSegment< T > Struct Template Reference

Holds a 2D line segment. More...


Source file:

Remarks

Holds a 2D line segment.

Template Parameters
TCoordinate type
Type Constraints
T :IConvertible 
T :IEquatable<T> 

Public fields

Point< T > A
 
Point< T > B
 

Properties

LineSegment< T > Reversed [get]
 

Public Member Functions

 LineSegment (Point< T > a, Point< T > b)
 
 LineSegment (T ax, T ay, T bx, T by)
 
override string ToString ()
 

Static Public Member Functions

static implicit operator Pair< Point< T >, Point< T >> (LineSegment< T > seg)
 
static implicit operator LineSegment< T > (Pair< Point< T >, Point< T >> seg)
 
static operator LineSegment< int > (LineSegment< T > seg)
 
static operator LineSegment< long > (LineSegment< T > seg)
 
static operator LineSegment< float > (LineSegment< T > seg)
 
static operator LineSegment< double > (LineSegment< T > seg)