This class is a 3D vector representation. There is a module called Triple with operations on the triple type.
27 people like thisPosted: 14 years ago by Oldrich Svec
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).
30 people like thisPosted: 14 years ago by Oldrich Svec