public void rotate(Quaternion rotation) {
		Transform3D tr = new Transform3D();
		tr.setRotation(rotation);
		transform(tr);
	}
public void rotate ( Quaternion rotation ) { Transform3D tr = new Transform3D ( ) ; tr . setRotation ( rotation ) ; transform ( tr ) ; }
Rotate the segment around its pivot point.
The pivot point is the first point of the segment.

@param rotation the rotation.