Struct LineSegment2D
線分を表すクラス
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: PLATEAU.Util.GeoGraph
Assembly: cs.temp.dll.dll
Syntax
public struct LineSegment2D
Constructors
LineSegment2D(Vector2, Vector2)
Declaration
public LineSegment2D(Vector2 start, Vector2 end)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | start | |
Vector2 | end |
Properties
Direction
方向
Declaration
public readonly Vector2 Direction { get; }
Property Value
Type | Description |
---|---|
Vector2 |
End
終点
Declaration
public Vector2 End { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
Magnitude
長さ
Declaration
public readonly float Magnitude { get; }
Property Value
Type | Description |
---|---|
System.Single |
Ray
Ray2Dにして返す
Declaration
public readonly Ray2D Ray { get; }
Property Value
Type | Description |
---|---|
Ray2D |
Start
始点
Declaration
public Vector2 Start { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |