Struct Line2
Namespace: Ludiq
Syntax
public struct Line2
  Constructors
Line2(Vector2, Vector2)
Declaration
public Line2(Vector2 a, Vector2 b)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Vector2 | a | |
| Vector2 | b | 
Fields
a
Declaration
public Vector2 a
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
b
Declaration
public Vector2 b
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
Methods
Intersect(Line2, Line2)
Declaration
public static bool Intersect(Line2 la, Line2 lb)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Line2 | la | |
| Line2 | lb | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
Intersects(Line2)
Declaration
public bool Intersects(Line2 o)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Line2 | o | 
Returns
| Type | Description | 
|---|---|
| Boolean |