Search Results for

    Show / Hide Table of Contents

    Struct IntersectionResult

    Holds info for the Intersection(Vector2, Vector2, Vector2, Vector2) method.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Oasys.Common.Extensions
    Assembly: Oasys.Common.dll
    Syntax
    public struct IntersectionResult

    Constructors

    IntersectionResult(Boolean, Vector2)

    Initializes a new instance of the IntersectionResult struct. Constructor for Intersection Result

    Declaration
    public IntersectionResult(bool intersects = false, Vector2 point = default(Vector2))
    Parameters
    Type Name Description
    System.Boolean intersects

    Intersection of input

    SharpDX.Vector2 point

    Intersection Point

    Fields

    Intersects

    Returns if both of the points intersect.

    Declaration
    public bool Intersects
    Field Value
    Type Description
    System.Boolean

    Point

    Intersection point

    Declaration
    public Vector2 Point
    Field Value
    Type Description
    SharpDX.Vector2

    Extension Methods

    Extensions.ClearFlags<T>(T, T)
    Extensions.GetFlagDescription<T>(T)
    Extensions.GetFlags<T>(T)
    Extensions.In<T>(T, T[])
    Extensions.SetFlags<T>(T, T, Boolean)
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾