Skip to content

[kbl2vec] Add transformers for geometry information#365

Merged
beckerjohannes merged 33 commits intodevelopfrom
feature/kbl2vec-add-geometry-transformers
Oct 22, 2025
Merged

[kbl2vec] Add transformers for geometry information#365
beckerjohannes merged 33 commits intodevelopfrom
feature/kbl2vec-add-geometry-transformers

Conversation

@yoshi-ya
Copy link
Contributor

@yoshi-ya yoshi-ya commented Oct 9, 2025

Pull Request

Changes

  • Code
  • Documentation
  • Other:

Description

This PR adds transformer classes that are needed to convert geometry information.

@yoshi-ya yoshi-ya self-assigned this Oct 9, 2025
@yoshi-ya yoshi-ya marked this pull request as ready for review October 9, 2025 14:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds transformer classes for converting geometry information between KBL and VEC formats. The implementation provides support for both 2D and 3D geometry conversions with proper dimension detection and error handling.

  • Adds dimension detection utilities and coordinate generation helpers
  • Implements complete 2D and 3D geometry transformation pipelines
  • Updates the conversion system to support geometry building blocks

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
GeometryDimensionDetector.java Utility class for detecting whether geometry data is 2D or 3D
CoordinateGenerator.java Helper for safely extracting coordinate values with defaults
CartesianPoint2D/3DTransformer.java Transforms KBL cartesian points to VEC 2D/3D points
GeometryNode2D/3DTransformer.java Transforms KBL nodes to VEC geometry nodes
GeometrySegment2D/3DTransformer.java Transforms KBL segments to VEC geometry segments
BuildingBlockSpecification2D/3DTransformer.java Creates VEC building block specifications from KBL harnesses
DoublesToCartesianVector2D/3DConverter.java Converts coordinate lists to VEC vector objects
ConverterRegistry.java Registers the new vector converters
ConversionProperties.java Adds configuration property for 2D vector reference system
HarnessDocumentVersionTransformer.java Integrates geometry transformers into document processing

@yoshi-ya yoshi-ya force-pushed the feature/kbl2vec-add-geometry-transformers branch from 6ae1dc2 to bebd3cd Compare October 14, 2025 08:46
@yoshi-ya yoshi-ya requested a review from Copilot October 14, 2025 08:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 4 comments.

@yoshi-ya yoshi-ya force-pushed the feature/kbl2vec-add-geometry-transformers branch from dfd3dea to 3effaec Compare October 14, 2025 12:43
@yoshi-ya yoshi-ya force-pushed the feature/kbl2vec-add-geometry-transformers branch from 3effaec to c062076 Compare October 16, 2025 10:16
Copy link
Contributor

@beckerjohannes beckerjohannes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented multiple points. As some of those point are applicable to multiple files in the same way (e.g. Geometry(Node|Segment)(2D|3D)), I think it is the best that you adapt those changes consistently and then I go over the PR again. We're getting there 😉

@yoshi-ya yoshi-ya force-pushed the feature/kbl2vec-add-geometry-transformers branch from c062076 to d6f67fc Compare October 20, 2025 09:51
@yoshi-ya yoshi-ya changed the title Add transformers for geometry information [kbl2vec] Add transformers for geometry information Oct 20, 2025
Copy link
Contributor

@beckerjohannes beckerjohannes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good now. Those comments are the last ones. Promised! 🤞 When those are fixed, we can merge this one.

@yoshi-ya yoshi-ya force-pushed the feature/kbl2vec-add-geometry-transformers branch from c209be0 to 725078c Compare October 22, 2025 08:08
@yoshi-ya yoshi-ya force-pushed the feature/kbl2vec-add-geometry-transformers branch from d2b61eb to 96dff61 Compare October 22, 2025 08:29
@sonarqubecloud
Copy link

@beckerjohannes beckerjohannes merged commit 13a3cc2 into develop Oct 22, 2025
3 checks passed
@beckerjohannes beckerjohannes deleted the feature/kbl2vec-add-geometry-transformers branch October 22, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants