Search Results for

    Show / Hide Table of Contents

    Class AxisPlaneEx

    Inheritance
    System.Object
    AxisPlaneEx
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: PLATEAU.Util.GeoGraph
    Assembly: cs.temp.dll.dll
    Syntax
    public static class AxisPlaneEx

    Methods

    GetNormal(Vector3, AxisPlane)

    planeに対する直交成分を取り出す

    Declaration
    public static float GetNormal(this Vector3 self, AxisPlane plane)
    Parameters
    Type Name Description
    Vector3 self
    AxisPlane plane
    Returns
    Type Description
    System.Single

    GetTangent(Vector3, AxisPlane)

    planeの平面成分を取り出す

    Declaration
    public static Vector2 GetTangent(this Vector3 self, AxisPlane plane)
    Parameters
    Type Name Description
    Vector3 self
    AxisPlane plane
    Returns
    Type Description
    Vector2

    Make(AxisPlane, Vector2, Single)

    planeの平行成分をv, 直交成分をnormalに変更したVector3を返す

    Declaration
    public static Vector3 Make(this AxisPlane plane, Vector2 v, float normal)
    Parameters
    Type Name Description
    AxisPlane plane
    Vector2 v
    System.Single normal
    Returns
    Type Description
    Vector3

    NormalVector(AxisPlane)

    planeに直交する軸の単位ベクトルを返す

    Declaration
    public static Vector3 NormalVector(this AxisPlane plane)
    Parameters
    Type Name Description
    AxisPlane plane
    Returns
    Type Description
    Vector3

    Put(Vector3, AxisPlane, Vector2)

    selfのplane成分をaに変更したVector3を返す

    Declaration
    public static Vector3 Put(this Vector3 self, AxisPlane plane, Vector2 a)
    Parameters
    Type Name Description
    Vector3 self
    AxisPlane plane
    Vector2 a
    Returns
    Type Description
    Vector3

    PutNormal(Vector3, AxisPlane, Single)

    planeに対する直交成分をnに変更する

    Declaration
    public static Vector3 PutNormal(this Vector3 self, AxisPlane plane, float n)
    Parameters
    Type Name Description
    Vector3 self
    AxisPlane plane
    System.Single n
    Returns
    Type Description
    Vector3

    ToVector2(Vector3, AxisPlane)

    planeの平面成分を取り出す

    Declaration
    public static Vector2 ToVector2(this Vector3 self, AxisPlane plane)
    Parameters
    Type Name Description
    Vector3 self
    AxisPlane plane
    Returns
    Type Description
    Vector2

    ToVector3(Vector2, AxisPlane, Single)

    planeに指定した成分にselfを入れて、残りにaを入れたvector3を返す

    Declaration
    public static Vector3 ToVector3(this Vector2 self, AxisPlane plane, float a = 0F)
    Parameters
    Type Name Description
    Vector2 self
    AxisPlane plane
    System.Single a
    Returns
    Type Description
    Vector3
    In This Article
    Back to top PLATEAU SDK for Unity