Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(Point0.GetHashCode() * Point1.GetHashCode() ^ 133);
     }
 }
Exemplo n.º 2
0
 public override void ToFoamDictionary(FoamDictionary fd)
 {
     fd.SetChild("type", "cone");
     fd.SetChild("p0", Point0.ToString());
     fd.SetChild("p1", Point1.ToString());
     fd.SetChild("radius0", Radius0);
     fd.SetChild("radius1", Radius1);
 }