code: public void setProperties(Point3d a, Point3d b, DoubleProperty radius1) {
  		this.medial1.setProperties(a.xProperty, a.yProperty, a.zProperty);
  		this.medial2.setProperties(b.xProperty, b.yProperty, b.zProperty);
  		this.radiusProperty = radius1;
  		ensureAIsLowerPoint();
  	}
docs: Set the capsule.
  
  @param a the first point of the capsule's segment.
  @param b the second point of the capsule's segment.
  @param radius1 the radius of the capsule.