Class GcLineExtensions
- Namespace
- GameCanvas
- Assembly
- GameCanvas.dll
GcLine 拡張クラス
public static class GcLineExtensions
- Inheritance
-
GcLineExtensions
- Inherited Members
Methods
AABB(in GcLine, in float2x3)
AABB
public static GcAABB AABB(this in GcLine self, in float2x3 matrix)
Parameters
self
GcLinematrix
float2x3
Returns
Begin(in GcLine)
始点(線分の場合)
public static float2 Begin(this in GcLine self)
Parameters
self
GcLine
Returns
- float2
Degree(in GcLine)
傾き(度数法)
public static float Degree(this in GcLine self)
Parameters
self
GcLine
Returns
End(in GcLine)
終点(線分の場合)
public static float2 End(this in GcLine self)
Parameters
self
GcLine
Returns
- float2
IsSegment(in GcLine)
線分(長さが有限)かどうか
public static bool IsSegment(this in GcLine self)
Parameters
self
GcLine
Returns
IsZero(in GcLine)
長さがないかどうか
public static bool IsZero(this in GcLine self)
Parameters
self
GcLine
Returns
Radian(in GcLine)
傾き(弧度法)
public static float Radian(this in GcLine self)
Parameters
self
GcLine
Returns
Vector(in GcLine)
ベクトル(線分の場合)
public static float2 Vector(this in GcLine self)
Parameters
self
GcLine
Returns
- float2