Fix typo in proto

This commit is contained in:
Jørgen Herje 2024-03-11 09:55:50 +01:00
parent 0ed0d81765
commit 491b0c3ff0
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ message PolylineTestResponse
message CutAlongPolylineResponse
{
repeated FenceMeshSection feceMeshSections = 1;
repeated FenceMeshSection fenceMeshSections = 1;
PolylineTestResponse polylineTestResponse = 2;
Vec3i gridDimensions = 3;
}

View File

@ -53,7 +53,7 @@ cut_along_polyline_response: GridGeometryExtraction__pb2.CutAlongPolylineRespons
grid_geometry_extraction_stub.CutAlongPolyline(cut_along_polyline_request)
)
fence_mesh_sections = cut_along_polyline_response.feceMeshSections
fence_mesh_sections = cut_along_polyline_response.fenceMeshSections
print(f"Number of fence mesh sections: {len(fence_mesh_sections)}")
section_mesh_3d = []

View File

@ -223,7 +223,7 @@ grpc::Status RiaGrpcGridGeometryExtractionService::CutAlongPolyline( grpc::Serve
const auto& polylineSegmentsMeshData = polylineIntersectionGenerator->polylineSegmentsMeshData();
for ( const auto& segment : polylineSegmentsMeshData )
{
auto* fenceMeshSection = response->add_fecemeshsections();
auto* fenceMeshSection = response->add_fencemeshsections();
// Set start UTM (x,y)
rips::Vec2d* startUtmXY = new rips::Vec2d;