Exemple #1
0
 public static bool IsParallelTo(this Line3d l0, Line3d l1)
 {
     return(l0.Direction.IsParallelTo(l1.Direction));
 }
Exemple #2
0
 public static bool IsParallelTo(this Line3d l0, Line3d l1, double epsilon = 1e-6)
 {
     return(l0.Direction.IsParallelTo(l1.Direction, epsilon));
 }
Exemple #3
0
 public Capsule3d(Line3d axis, double radius)
 {
     P0     = axis.P0;
     P1     = axis.P1;
     Radius = radius;
 }