/** * Constructs a handle with specified center coordinates. * @param x the center x coordinate. * @param y the center y coordinate. * @param z the center z coordinate. */ protected Handle(double x, double y, double z) { setLocation(x,y,z); }
/** * Constructs a handle with specified center location. * @param p the center point. */ protected Handle(Point3 p) { setLocation(p.x,p.y,p.z); }
/** * Sets the view-independent location of the center of this handle. * This method conveniently sets the handle transform to a pure * translation to the specified center point. * @param p the center point. */ public void setLocation(Point3 p) { setLocation(p.x,p.y,p.z); }