예제 #1
0
  public void rotate(NumberValue r) {

    if (tmpMatrix4x4 == null) {
      tmpMatrix4x4 = new CoordMatrix4x4();
    }
    CoordMatrix4x4.Rotation4x4(r.getDouble(), tmpMatrix4x4);
    transform(tmpMatrix4x4);
  }
예제 #2
0
  public void rotate(NumberValue r, GeoPointND S) {

    if (tmpMatrix4x4 == null) {
      tmpMatrix4x4 = new CoordMatrix4x4();
    }
    CoordMatrix4x4.Rotation4x4(r.getDouble(), S.getInhomCoordsInD3(), tmpMatrix4x4);
    transform(tmpMatrix4x4);
  }
예제 #3
0
  public void rotate(NumberValue r, GeoPointND S, GeoDirectionND orientation) {

    if (tmpMatrix4x4 == null) {
      tmpMatrix4x4 = new CoordMatrix4x4();
    }
    CoordMatrix4x4.Rotation4x4(
        orientation.getDirectionInD3().normalized(),
        r.getDouble(),
        S.getInhomCoordsInD3(),
        tmpMatrix4x4);
    transform(tmpMatrix4x4);
  }
예제 #4
0
  public void rotate(NumberValue r, GeoLineND line) {

    if (tmpMatrix4x4 == null) {
      tmpMatrix4x4 = new CoordMatrix4x4();
    }

    CoordMatrix4x4.Rotation4x4(
        line.getDirectionInD3().normalized(),
        r.getDouble(),
        line.getStartInhomCoords(),
        tmpMatrix4x4);
    transform(tmpMatrix4x4);
  }