public RealMatrix create(){
  RealMatrix rotation=newIdentityMatrix();
  for (  Plane plane : planes) {
    double theta=plane.getTheta();
    if (Double.isNaN(theta)) {
      continue;
    }
    rotation=rotation.multiply(newRotationMatrix(plane.getFirstAxis(),plane.getSecondAxis(),theta));
  }
  return rotation;
}

public RealMatrix create ( ) { RealMatrix rotation = newIdentityMatrix ( ) ; for ( Plane plane : planes ) { double theta = plane . getTheta ( ) ; if ( Double . isNaN ( theta ) ) { continue ; } rotation = rotation . multiply ( newRotationMatrix ( plane . getFirstAxis ( ) , plane . getSecondAxis ( ) , theta ) ) ; } return rotation ; }
returns the rotation matrix resulting from applying all 2d rotation planes and angles added to this builder .
