@Override
  public void setQuadric(GeoQuadric3D quadric, Coords origin, Coords direction, double number) {

    ((GeoQuadric3DPart) quadric).set(origin, direction, number);
  }
 public void set(GeoElement geo) {
   super.set(geo);
   GeoQuadric3DPart quadric = (GeoQuadric3DPart) geo;
   setLimits(quadric.min, quadric.max);
   area = quadric.getArea();
 }