/*! Construct the circle from the intersection of a plane and a sphere. \param A : A from the plane equation Ax + By + Cz = 0. \param B : B from the plane equation Ax + By + Cz = 0. \param C : C from the plane equation Ax + By + Cz = 0. \param X0 : X Coordinate of the center of the sphere. \param Y0 : Y Coordinate of the center of the sphere. \param Z0 : Z Coordinate of the center of the sphere. \param R : Radius of the sphere. \sa setWorldCoordinates() */ vpCircle::vpCircle(const double A, const double B, const double C, const double X0, const double Y0, const double Z0, const double R) { init() ; setWorldCoordinates(A, B, C, X0, Y0, Z0, R) ; }
vpSphere::vpSphere(const double X0, const double Y0, const double Z0, const double R) { init() ; setWorldCoordinates(X0, Y0, Z0, R) ; }
/*! Construct the circle from the intersection of a plane and a sphere. \param oP_ : oP[0], oP[1], oP[2] correspond to A, B, C from the plane equation Ax + By + Cz = 0. oP[3], oP[4], oP[5] correspond to X, Y, Z the coordinates of the center of the sphere. oP[6] corresponds to the radius of the sphere. \sa setWorldCoordinates() */ vpCircle::vpCircle(const vpColVector& oP_) { init() ; setWorldCoordinates(oP_) ; }
vpSphere::vpSphere(const vpColVector& oP) { init() ; setWorldCoordinates(oP) ; }