Elsevier

Computer-Aided Design

Volume 131, February 2021, 102957
Computer-Aided Design

Technical Note
Valley Average of Lines (VAL) and of Directions (VAD) in 3D

https://doi.org/10.1016/j.cad.2020.102957Get rights and content

Abstract

Extending (Sati et al., 2016) to 3D, we propose definitions and closed-form expressions for what we call the Valley Average of Directions (VAD), T, of a set {Ti} of directions (unit vectors) and for what we call the Valley Average of Lines (VAL), L, of a set {Li} of lines. L is independent of the input order. When the {Li} are parallel, L is parallel to them and passes through the centroid of their intersections with any normal plane. When all {Li} contain point P, L passes through P.

Introduction

The concept of averaging is pervasive in Geometric Dimensioning and Tolerancing (GD&T) [1], [2] and is used to fit planes and lines to measured points.

In this note, we consider the problem of averaging a set of lines in 3D. The importance of our contributions may be illustrated by the following anticipated application: When defining GD&T for manufacturing quality control and for testing conformance for assembly [3], one may wish to compute, for a selection of machined parts, the “average” of the axes of a cylindrical feature estimated from acquired sensor data (such as a Coordinate Measuring Machine). The variability of these axes with respect to this average axis and the deviation of this average from the desired datum axis make it possible to distinguish between noise and systemic error. This distinction it not possible when only statistics on the deviation between the individual axes and the desired datum are collected.

Section snippets

Prior art

It is reasonable to expect an average of a set of lines to possess the following list of properties:

  • Order invariance: The average should be invariant under permutations of the inputs.

  • Parameterization invariance: The average should not depend on the parameterization or a particular choice of representation for the input lines.

  • Independence from sampling: The average should not depend on a particular sampling of input lines.

It is not trivial to construct an average that satisfies these desired

Valley average of directions (VAD)

We first present a particular definition of the average T of a set {Ti} of directions (unit vectors) in 3D. We call it the Valley Average of Directions (VAD).

Other options for defining T, such as a linear average or the geodesic squared-distance minimizer on the Gaussian sphere [8], may be suitable for some applications, but, none of these options lead to a formulation of an average of lines that satisfies the desired properties listed above. We show in Section 4 that VAD does.

Let {Ti} be a

Valley average of lines (VAL)

We use the VAD to define our average of lines. Let {Li} be a set of lines in 3D, where line Li=Line(Pi,Ti) is defined by a point, Pi, that it contains and by its direction, Ti.

We define the average of {Li} as L=Line(P,T), where T is the VAD of {Ti} and where P=argminQ(P), with, Q(P)=inPPi2i(PPiTi)2=PTKP+BTP+dbeing the sum of the squared distances from P to the lines {Li}. In the above matrix–vector expression for Q(P), the quadratic terms have been encoded and expressed with the

Multi-line, order independent correspondence

Given lines Li in 3D, one may need a correspondence (common parameterization) between them that is independent of the order in which the lines are given. The VAL proposed here suggests two different solutions: CPontoVAL and CPfromVAL. For both solutions, we consider a parameterization of the average line, where C(s) is a point on the VAL L and, for each i, use it to define the corresponding point Ci(s) on Li.

Let Proj(P,K) return the point on line K that is closest to point P.

  • 1.

    CPontoVAL (Common

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References (10)

There are more references available in the full text version of this article.

Cited by (0)

View full text