FlightGear next
VectorMath Class Reference

#include <VectorMath.hxx>

Static Public Member Functions

static std::array< double, 2 > innerTangentsAngle (SGGeod m1, SGGeod m2, double r1, double r2)
 Angles of inner tangent between two circles.
 
static double innerTangentsLength (SGGeod m1, SGGeod m2, double r1, double r2)
 Length of inner tangent between two circles.
 
static std::array< double, 2 > outerTangentsAngle (SGGeod m1, SGGeod m2, double r1, double r2)
 Angles of outer tangent between two circles normalized to 0-360.
 
static double outerTangentsLength (SGGeod m1, SGGeod m2, double r1, double r2)
 Length of outer tangent between two circles.
 

Detailed Description

Definition at line 24 of file VectorMath.hxx.

Member Function Documentation

◆ innerTangentsAngle()

std::array< double, 2 > VectorMath::innerTangentsAngle ( SGGeod m1,
SGGeod m2,
double r1,
double r2 )
static

Angles of inner tangent between two circles.

Definition at line 23 of file VectorMath.cxx.

◆ innerTangentsLength()

double VectorMath::innerTangentsLength ( SGGeod m1,
SGGeod m2,
double r1,
double r2 )
static

Length of inner tangent between two circles.

Definition at line 42 of file VectorMath.cxx.

◆ outerTangentsAngle()

std::array< double, 2 > VectorMath::outerTangentsAngle ( SGGeod m1,
SGGeod m2,
double r1,
double r2 )
static

Angles of outer tangent between two circles normalized to 0-360.

Definition at line 64 of file VectorMath.cxx.

◆ outerTangentsLength()

double VectorMath::outerTangentsLength ( SGGeod m1,
SGGeod m2,
double r1,
double r2 )
static

Length of outer tangent between two circles.

Definition at line 75 of file VectorMath.cxx.


The documentation for this class was generated from the following files: