public bool IsValid() { bool result; if (V1.IsSame(V2) || V1.IsSame(V3) || V2.IsSame(V3)) { result = false; } else { Vector3d vector = V1.Subtract(V2); Vector3d target = V1.Subtract(V3); result = !vector.IsParallel(target); } return(result); }
public bool IsValid() { bool result; if (V1.IsSame(V2) || V1.IsSame(V3) || V2.IsSame(V3)) { result = false; } else { Vector3d vector = V1.Subtract(V2); Vector3d target = V1.Subtract(V3); result = !vector.IsParallel(target); } return(result); }