public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (position_ == null) { position_ = new global::Apollo.Common.Pose(); } input.ReadMessage(position_); break; } case 18: { if (size_ == null) { size_ = new global::Apollo.Common.Vector3(); } input.ReadMessage(size_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (linear_ == null) { linear_ = new global::Apollo.Common.Vector3(); } input.ReadMessage(linear_); break; } case 18: { if (angular_ == null) { angular_ = new global::Apollo.Common.Vector3(); } input.ReadMessage(angular_); break; } } } }
public void MergeFrom(BoundingBox3D other) { if (other == null) { return; } if (other.position_ != null) { if (position_ == null) { position_ = new global::Apollo.Common.Pose(); } Position.MergeFrom(other.Position); } if (other.size_ != null) { if (size_ == null) { size_ = new global::Apollo.Common.Vector3(); } Size.MergeFrom(other.Size); } }
public void MergeFrom(Twist other) { if (other == null) { return; } if (other.linear_ != null) { if (linear_ == null) { linear_ = new global::Apollo.Common.Vector3(); } Linear.MergeFrom(other.Linear); } if (other.angular_ != null) { if (angular_ == null) { angular_ = new global::Apollo.Common.Vector3(); } Angular.MergeFrom(other.Angular); } }