3 package grl.flatbuffer;
8 import com.google.flatbuffers.*;
10 @SuppressWarnings(
"unused")
11 public final class EulerTranslationParams extends Table {
16 public double x() {
int o = __offset(4);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
17 public double y() {
int o = __offset(6);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
18 public double z() {
int o = __offset(8);
return o != 0 ? bb.getDouble(o + bb_pos) : 0.0; }
24 builder.startObject(3);
32 public static void addX(FlatBufferBuilder builder,
double x) { builder.addDouble(0, x, 0.0); }
33 public static void addY(FlatBufferBuilder builder,
double y) { builder.addDouble(1, y, 0.0); }
34 public static void addZ(FlatBufferBuilder builder,
double z) { builder.addDouble(2, z, 0.0); }
36 int o = builder.endObject();
EulerTranslationParams __init(int _i, ByteBuffer _bb)
static void addY(FlatBufferBuilder builder, double y)
static int endEulerTranslationParams(FlatBufferBuilder builder)
static EulerTranslationParams getRootAsEulerTranslationParams(ByteBuffer _bb)
static void startEulerTranslationParams(FlatBufferBuilder builder)
static void addZ(FlatBufferBuilder builder, double z)
static EulerTranslationParams getRootAsEulerTranslationParams(ByteBuffer _bb, EulerTranslationParams obj)
static void addX(FlatBufferBuilder builder, double x)
static int createEulerTranslationParams(FlatBufferBuilder builder, double x, double y, double z)