示例#1
0
 public bool Equals(Torus3d other) =>
 Position.Equals(other.Position) &&
 Direction.Equals(other.Direction) &&
 MajorRadius.Equals(other.MajorRadius) &&
 MinorRadius.Equals(other.MinorRadius);
示例#2
0
 public bool Equals(Plane3d other)
 => Normal.Equals(other.Normal) && Distance.Equals(other.Distance);
示例#3
0
 public bool Equals(PlaneWithPoint3d other)
 => Normal.Equals(other.Normal) && Point.Equals(other.Point);
示例#4
0
 public bool Equals(Sphere3d other)
 => Center.Equals(other.Center) && Radius.Equals(other.Radius);
示例#5
0
 public bool Equals(Circle3d other)
 => Center.Equals(other.Center) && Normal.Equals(other.Normal) && Radius.Equals(other.Radius);
示例#6
0
 public bool Equals(ObliqueCone3d other)
 => Origin.Equals(other.Origin) && Circle.Equals(other.Circle);
示例#7
0
 public bool Equals(Cone3d other)
 => Origin.Equals(other.Origin) && Direction.Equals(other.Direction) && Angle.Equals(other.Angle);
示例#8
0
 public bool Equals(Cylinder3d other) =>
 P0.Equals(other.P0) &&
 P1.Equals(other.P1) &&
 Radius.Equals(other.Radius) &&
 DistanceScale.Equals(other.DistanceScale);