void R3Circle:: Transform (const R3Transformation& transformation) { // Transform circle ??? center.Transform(transformation); plane.Transform(transformation); if (!transformation.IsIsotropic()) RNWarning("Circle transformed by anisotropic transformation"); radius *= transformation.ScaleFactor(); }
void R3Sphere:: Transform (const R3Transformation& transformation) { // Transform center center.Transform(transformation); // Scale radius if (!transformation.IsIsotropic()) RNWarning("Sphere transformed by anisotropic transformation"); radius *= transformation.ScaleFactor(); }