Primitive fitting WebGL demo (2D)

Description

Click on points (white squares) to modify the geometry. Normal vectors are defined by the tangent plane of the polyline. The primitive is adjusted in realtime.

Colors illustrates the scalar field values: golden is inside (<0), blue outside. The white plane curve shows the estimated algebraic circle.

The white dashed circle show the fitting scale. The point from which the fitting is performed is shown as a white circular dot.


Controls

Current fitting technique:

Description:

  • Plane (mean): the plane is defined by the mean point positions and normal orientations.
  • Oriented Sphere: Algebraic Sphere fitting procedure on oriented point sets, published in [3]