예제 #1
0
 Bone CreateBone(double radius, double z1, double z2, Brush brush)
 {
     Bone bone = new Bone(radius, 1.5, brush, brush, brush);
     bone.SetLocation(new Point3D(0, 0, z1), new Point3D(0, 0, z2));
     Children.Add(bone);
     return bone;
 }
예제 #2
0
 public DoubleBone(double radius, Brush brush)
 {
     UpperBone = CreateBone(radius, 0, -1, brush);
     LowerBone = CreateBone(radius, -1, -2, brush);
 }