Example #1
0
 public Vector3 Snap(Vector3 point)
 {
     if (IsEmpty())
     {
         return(point);
     }
     return(subspace.Project(point - point0) + point0);
 }
Example #2
0
 public override Subspace IntersectedWith(Subspace other)
 {
     if (other.Project(axis) == axis)
     {
         return(this);
     }
     return(new Subspace0());
 }