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

            return(Intersects(line, out scale));
        }
Exemple #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));
 }
Exemple #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);
 }
Exemple #4
0
 public Line3(Line3 source)
 {
     Start = source.Start;
     End   = source.End;
 }
Exemple #5
0
 /// <summary>
 /// Renders a line.
 /// </summary>
 /// <param name="line">The line.</param>
 public void AddLineThin(Line3 line)
 {
     AddLineThin(line.Start, line.End);
 }