Snippets in category Graphics and 3D

  • Form changing color

    Windows Forms tutorial showing how to create form with button and how to register an event handler. When the button is clicked, the form changes its background color.

    29 people like this
    Posted: 1 years ago by Tomas Petricek

  • Triple (3D Vector)

    This class is a 3D vector representation. There is a module called Triple with operations on the triple type.

    17 people like this
    Posted: 1 years ago by Oldrich Svec

  • Distance between two 3D segments

    The function segmentSegment takes 2 segments (starting and ending points) and computes the shortest distance between them. The function returns a starting and ending point of the shortest segment between the two segments. The function uses a triple type but can be easily rewritten to work with any other type (vector etc).

    23 people like this
    Posted: 1 years ago by Oldrich Svec

  • Closest Pair of Points

    Closest Pair of points problem in the planar case.

    22 people like this
    Posted: 1 years ago by Martin Szarski