public Point3D getPointInCartesiansCoords(double theta, double phi, double radius) { SphereService cCom = getCOMReference(); if (cCom != null) { return(cCom.getPointInCartesiansCoords(theta, phi, radius)); } { return(new Point3D()); } }
public Sphere getSphere(string name, int radius, int accurasy, Color color) { SphereService cCom = getCOMReference(); if (cCom != null) { return(cCom.getSphere(name, radius, accurasy, color)); } else { return(null); } }
public SphereController(ServiceResolver serviceResolver) { _sphereService = (SphereService)serviceResolver(ServiceType.SPHERE); _roomService = (RoomService)serviceResolver(ServiceType.ROOM); _messageService = (MessageService)serviceResolver(ServiceType.MESSAGE); }