src/java/grl/src/grl/flatbuffer/EulerRotation.java
Go to the documentation of this file.
1 // automatically generated by the FlatBuffers compiler, do not modify
2 
3 package grl.flatbuffer;
4 
5 import java.nio.*;
6 import java.lang.*;
7 import java.util.*;
8 import com.google.flatbuffers.*;
9 
10 @SuppressWarnings("unused")
11 public final class EulerRotation extends Struct {
12  public EulerRotation __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; return this; }
13 
14  public double r1() { return bb.getDouble(bb_pos + 0); }
15  public double r2() { return bb.getDouble(bb_pos + 8); }
16  public double r3() { return bb.getDouble(bb_pos + 16); }
17  public byte eulerOrder() { return bb.get(bb_pos + 24); }
18 
19  public static int createEulerRotation(FlatBufferBuilder builder, double r1, double r2, double r3, byte eulerOrder) {
20  builder.prep(8, 32);
21  builder.pad(7);
22  builder.putByte(eulerOrder);
23  builder.putDouble(r3);
24  builder.putDouble(r2);
25  builder.putDouble(r1);
26  return builder.offset();
27  }
28 }
29 
static int createEulerRotation(FlatBufferBuilder builder, double r1, double r2, double r3, byte eulerOrder)