Skip to content

Latest commit

 

History

History
180 lines (107 loc) · 5.55 KB

homog2d_showcase.md

File metadata and controls

180 lines (107 loc) · 5.55 KB

Graphical showcase

Manual main page

On this page, some graphical demos as gif images, all generated with programs in misc/showcase with $ make showcase
Requires Opencv (to generate images) and ImageMagick (to generate the final gif).

Note: 20221205: check out this other page for more demos.

  • Showcase 1: The front page demo. The moving circle turns red when it is detected as inside the rectangle or the other circle.

showcase1

  • Showcase 3: A rotating Polyline object, its bounding box, and its intersection with a line.

showcase3

  • Showcase 4: Two dancing objects (Circle and FRect) and their common bounding box. Also show the rectangle's bounding circle and the circle's bounding box.

showcase4

Intersection and union areas of two rectangles.

Example of intersection area Example of union area

  • Showcase 5: A rotating ellipse with its center point (green), its axis lines, and its two bounding boxes (one aligned with its axis, the other xy-aligned).

showcase5

  • Showcase 6: Building circles from two (blue) or three (red) points, with one of the points rotating in the image. Also shows intersection of circles with a segment.

showcase6

  • Showcase 7: A demo showing when a closed polyline and a circle are inside each other. Red and bold drawing when inside the other. Also shows the intersection points between these two primitives.

showcase7

  • Showcase 7b: Same as above but with a rectangle and a cirle.

showcase7b

  • Showcase 7c: Shows a moving segment that turns red and bold when inside a rectangle, a circle, and a closed polyline. Also draws the intersection point, if any.

showcase7c

  • Showcase 7d: Shows a fixed ellipse with other objects moving around and turning bold when inside the ellipse.

showcase7d

  • Showcase 8: A rotating point, a fixed segment and a fixed line. The blue segment is generated between the point and the line, using getOrthogSegment(). The other segment shows the distance between the point and the fixed segment, with two alternate colors showing the case (orthogonal distance or distance to segment edge).

showcase8

  • Showcase 9: A circle rotating around another fixed one. Shows the segment joining the centers, the tangential segments, and the common bounding box. Also shows the lines orthogonal to the joining segment at circles center.

showcase9

showcase11

  • Showcase 11: a moving segment (red), its supporting line (gray), its two parallel segments (green and brown), and its bisector line (blue).

showcase11

  • Showcase 13: Random points, the corresponding Convex Hull, Bounding Box, the Minimum Enclosing Circle (MEC), and the extremum points (green).

showcase13

  • Showcase 14: Two moving polygons, shows their intersection points and the closest points between them (blue segment).

showcase14

  • Showcase 15: A rotating point (red circle), a bunch of random points, and the segment between the point and the nearest/farthest point of the set.

showcase15

  • Showcase 16: Showing the side of a point related to a rotating line. Tipping point appears for a horizontal line.

showcase16

  • Showcase 17: Showing a rotating segment and its orthogonal segments and points.

showcase17

  • Showcase 18: Building of a parallelogram from 3 points

showcase18

  • Showcase 19: Random segments, drawn with random colors

showcase19

  • Showcase 20: Three moving circles, fixed radius. Lines formed by intersections points between pair of circles. The three lines intersect at same point (black). Also shows the common bounding box and the tangential segments.

showcase20

showcase22