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::Point(); } input.ReadMessage(position_); break; } case 18: { if (orientation_ == null) { orientation_ = new global::Quaternion(); } input.ReadMessage(orientation_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { ClassId = input.ReadInt32(); break; } case 21: { Score = input.ReadFloat(); break; } case 26: { if (bbox_ == null) { bbox_ = new global::BBox(); } input.ReadMessage(bbox_); break; } case 34: { if (segm_ == null) { segm_ = new global::SegmObject(); } input.ReadMessage(segm_); break; } case 42: { if (florplanpoint_ == null) { florplanpoint_ = new global::Point(); } input.ReadMessage(florplanpoint_); break; } case 50: { Features = input.ReadString(); break; } } } }
public void MergeFrom(ObjectAnnotation other) { if (other == null) { return; } if (other.ClassId != 0) { ClassId = other.ClassId; } if (other.Score != 0F) { Score = other.Score; } if (other.bbox_ != null) { if (bbox_ == null) { bbox_ = new global::BBox(); } Bbox.MergeFrom(other.Bbox); } if (other.segm_ != null) { if (segm_ == null) { segm_ = new global::SegmObject(); } Segm.MergeFrom(other.Segm); } if (other.florplanpoint_ != null) { if (florplanpoint_ == null) { florplanpoint_ = new global::Point(); } Florplanpoint.MergeFrom(other.Florplanpoint); } if (other.Features.Length != 0) { Features = other.Features; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
static void Main(string[] args) { //aliasarea namespaceului Point2D p2D = new Point2D(); p2D.X = 100; p2D.Y = 200; point3D::Point p3D = new point3D::Point(); p3D.X = 100; p3D.Y = 200; p3D.Z = 300; global::Point p = new global::Point(); p.Label = "Test"; }
public void MergeFrom(Pose other) { if (other == null) { return; } if (other.position_ != null) { if (position_ == null) { position_ = new global::Point(); } Position.MergeFrom(other.Position); } if (other.orientation_ != null) { if (orientation_ == null) { orientation_ = new global::Quaternion(); } Orientation.MergeFrom(other.Orientation); } }
public virtual grpc::AsyncUnaryCall <global::Confirmation> SendSinglePointAsync(global::Point request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_SendSinglePoint, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::Confirmation> SendSinglePointAsync(global::Point request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(SendSinglePointAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::Confirmation SendSinglePoint(global::Point request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_SendSinglePoint, null, options, request)); }
public virtual global::System.Threading.Tasks.Task <global::Confirmation> SendSinglePoint(global::Point request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }