Skip to content

Kinetic space partition: Reimplemented propagation#9396

Open
soesau wants to merge 10 commits intoCGAL:mainfrom
soesau:KSP-Propagation_fix-GF
Open

Kinetic space partition: Reimplemented propagation#9396
soesau wants to merge 10 commits intoCGAL:mainfrom
soesau:KSP-Propagation_fix-GF

Conversation

@soesau
Copy link
Copy Markdown
Member

@soesau soesau commented Mar 22, 2026

Summary of Changes

Added the vertex based propagation like it is implemented in the Inria version. Resulting in less complex partitions. However, the k-parameter is now per vertex and not per polygon. Meaning, increasing the k parameter has a larger impact than before.

Release Management

  • Affected package(s): Kinetic Space Partition, Kinetic Surface Reconstruction
  • License and copyright ownership: GF

soesau added 2 commits March 18, 2026 15:25
fixed propagation
input shapes from octree are now added using Intersection_kernel
std::set<std::size_t> crossed_lines;

std::vector<IEdge> iedges;
//std::vector<IEdge> iedges;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
//std::vector<IEdge> iedges;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There are more commented lines in this PR.


m_data->centroid = CGAL::centroid(tris.begin(), tris.end(), CGAL::Dimension_tag<2>());
m_data->ikcentroid = CGAL::centroid(points.begin(), points.end(), CGAL::Dimension_tag<0>());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does the package have a traits class? Can we just use centroid() ?

{ }
{}

Initializer(std::vector<std::vector<IkPoint_3> >& input_polygons, std::vector<typename Intersection_kernel::Plane_3>& input_planes, Data_structure& data, const Parameters& parameters) :
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The ":" of the initializer list should go in a new line.

soesau added 2 commits March 23, 2026 08:35
added import for detected shapes and linear cell complex into KSR
@soesau
Copy link
Copy Markdown
Member Author

soesau commented Apr 2, 2026

/build:v0

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

The documentation is built. It will be available, after a few minutes, here: https://cgal.github.io/9396/v0/Manual/index.html

@MaelRL MaelRL added this to the 6.3-beta milestone Apr 7, 2026
soesau added 3 commits April 10, 2026 15:54
added export functions used be the lcc streaming operator
fixed splitting methods of Kinetic_surface_reconstruction_3
fixed Kinetic Surface Reconstruction Lab plugin
completed D2 event in vertex propagation
[skip CI]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants