Skip to main content

normalise_centroid

Function normalise_centroid 

Source
pub fn normalise_centroid<T>(
    centroid: &Vector3<T>,
    point: &Vector3<T>,
    pole: &Vector3<T>,
) -> Vector3<T>
where T: Float + Scalar + ComplexField<RealField = T>,
Expand description

Normalise a centroid on coincident great circles.

Note: it handles the case where the centroid is too small to normalise.

  • centroid - the centroid to be normalised.
  • point - a mid-point.
  • pole - the pole of the Great Circle arc.

returns the normalise centroid.