Class GcLineExtensions
GcLine 拡張クラス
Inheritance
System.Object
GcLineExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameCanvas
Assembly: GameCanvas.dll
Syntax
public static class GcLineExtensions
Methods
AABB(GcLine, float2x3)
AABB
Declaration
public static GcAABB AABB(this in GcLine self, in float2x3 matrix)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self | |
float2x3 | matrix |
Returns
Type | Description |
---|---|
GcAABB |
Begin(GcLine)
始点(線分の場合)
Declaration
public static float2 Begin(this in GcLine self)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self |
Returns
Type | Description |
---|---|
float2 |
Degree(GcLine)
傾き(度数法)
Declaration
public static float Degree(this in GcLine self)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self |
Returns
Type | Description |
---|---|
Single |
End(GcLine)
終点(線分の場合)
Declaration
public static float2 End(this in GcLine self)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self |
Returns
Type | Description |
---|---|
float2 |
IsSegment(GcLine)
線分(長さが有限)かどうか
Declaration
public static bool IsSegment(this in GcLine self)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self |
Returns
Type | Description |
---|---|
Boolean |
IsZero(GcLine)
長さがないかどうか
Declaration
public static bool IsZero(this in GcLine self)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self |
Returns
Type | Description |
---|---|
Boolean |
Radian(GcLine)
傾き(弧度法)
Declaration
public static float Radian(this in GcLine self)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self |
Returns
Type | Description |
---|---|
Single |
Vector(GcLine)
ベクトル(線分の場合)
Declaration
public static float2 Vector(this in GcLine self)
Parameters
Type | Name | Description |
---|---|---|
GcLine | self |
Returns
Type | Description |
---|---|
float2 |