/// <summary> /// Draws the line. /// </summary> /// <param name="line">Line.</param> /// <param name="color">Color.</param> /// <param name="duration">Duration.</param> public static void DrawLine(Line3d line, Color color, float duration) { Debug.DrawLine(line.pointA, line.pointB, color, duration); }
/// <summary> /// Returns true if the lines are identical ignoring . /// </summary> /// <returns><c>true</c> if this instance is equal unordered the specified other; otherwise, <c>false</c>.</returns> /// <param name="other">Other.</param> public bool IsEqualUnordered(Line3d other) { return this == other || this == new Line3d(other.pointB, other.pointA); }
/// <summary> /// Gets the lines. /// </summary> /// <param name="output">Output.</param> public void GetLines(ref Line3d[] output) { Array.Resize(ref output, 3); output[0] = lineA; output[1] = lineB; output[2] = lineC; }