예제 #1
0
        public bool Intersects(Line3 line, Vector3 end)
        {
            double scale;

            return(Intersects(line, out scale));
        }
예제 #2
0
 /// <summary>
 /// Determines whether the given line intersects the current instance of <see cref="Plane"/>.
 /// </summary>
 /// <param name="line">The line to check.</param>
 /// <param name="scale">When the method completes, contains the line and plane intersection.</param>
 /// <returns>True if the given line intersects the current instance of <see cref="Plane"/>; False otherwise.</returns>
 public bool Intersects(Line3 line, out double scale)
 {
     return(Intersects(ref line, out scale));
 }
예제 #3
0
 /// <summary>
 /// Renders a line.
 /// </summary>
 /// <param name="line">The line.</param>
 /// <param name="thickness"></param>
 public void AddLine(Line3 line, double thickness = 0)
 {
     AddLine(line.Start, line.End, thickness);
 }
예제 #4
0
 public Line3(Line3 source)
 {
     Start = source.Start;
     End   = source.End;
 }
예제 #5
0
 /// <summary>
 /// Renders a line.
 /// </summary>
 /// <param name="line">The line.</param>
 public void AddLineThin(Line3 line)
 {
     AddLineThin(line.Start, line.End);
 }