code: public final void setStartEndPoints(final Point3D start, final Point3D end) {
          final Point3D direction = start.subtract(end);
          final Point3D position = start.midpoint(end);
          setLength(direction.magnitude());
          final Point3D axis = UP.crossProduct(direction.normalize());
          super.setVisible(true);
          super.setTranslateX(position.getX());
          super.setTranslateY(position.getY());
          super.setTranslateZ(position.getZ());
          super.setRotationAxis(axis);
          super.setRotate(UP.angle(direction.normalize()));
      }
docs: Sets the start and end point of the line.
  
  @param start Start point of the line.
  @param end End point of the line.