docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AutoRouter.Line

    Line description

    Inheritance
    object
    AutoRouter.Line
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    public class AutoRouter.Line

    Constructors

    Name Description
    Line()

    Constructor

    Line(float, float, float, float)

    Constructor with 4 coordinates

    Line(Vector2, Vector2)

    Constructor from 2 points

    Fields

    Name Description
    name

    Name of this line

    start

    Start Point

    stop

    Stop Point

    Methods

    Name Description
    GetIntersection(Line, Line, ref Vector2, float)

    Get Intersection status and point for 2 lines

    IsParallel(Line, Line, ref Alignment)

    This function check Horizontal or Vertical line for parallel!

    SqrLength()

    Squared length of the line

    ToString()

    String representation of the line

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)