Kaim::Bubble Class Reference

Kaim::Bubble Class Reference

#include <bubble.h>

Class Description

This class represents a circle with potential rotation limitation.

Public Member Functions

KyResult ComputeBiTangent (const Bubble &arrivalBubble, Vec2f &biTangentStart, Vec2f &biTangentEnd, Vec2f &biTangentNormalizedDir) const
 
KyResult ComputeBiTangent (const Bubble &arrivalBubble, Vec3f &biTangentStart, Vec3f &biTangentEnd, Vec2f &biTangentNormalizedDir) const
 
KyResult ComputeBiTangentBubble (const Vec3f &tangencyPosition, const Bubble &secondBubble, Vec3f &tangencyPositionOnSecondBubble, Bubble &biTangentBubble) const
 
KyResult ComputeBiTangentDirection (const Bubble &arrivalBubble, Vec2f &biTangentDir) const
 
void ComputeMedianTurnAxisAndPoint (const Vec2f &entryDir, const Vec2f &exitDir, Vec2f &medianTurnAxis, Vec3f &midPoint) const
 
KyResult ComputeTangentBubble (const Vec3f &tangencyPosition, const Vec3f &position, Bubble &tangentBubble) const
 

Member Function Documentation

KyResult Kaim::Bubble::ComputeBiTangent ( const Bubble arrivalBubble,
Vec2f biTangentStart,
Vec2f biTangentEnd,
Vec2f biTangentNormalizedDir 
) const

Computes the segment starting from this Bubble and arriving on , tangent to both Bubbles and respecting Bubbles rotation directions.

KyResult Kaim::Bubble::ComputeBiTangent ( const Bubble arrivalBubble,
Vec3f biTangentStart,
Vec3f biTangentEnd,
Vec2f biTangentNormalizedDir 
) const

Computes the segment starting from this Bubble and arriving on , tangent to both Bubbles and respecting Bubbles rotation directions.

Bi-tangent segment extremities altitude is set to respective Bubble center altitudes.

KyResult Kaim::Bubble::ComputeBiTangentBubble ( const Vec3f tangencyPosition,
const Bubble secondBubble,
Vec3f tangencyPositionOnSecondBubble,
Bubble biTangentBubble 
) const

Computes the Bubble tangent to this Bubble at the provided position and tangent to arrivalBubble.

KyResult Kaim::Bubble::ComputeBiTangentDirection ( const Bubble arrivalBubble,
Vec2f biTangentDir 
) const

Computes the normalized direction of the segment starting from this Bubble and arriving on , tangent to both Bubbles and respecting Bubbles rotation directions.

void Kaim::Bubble::ComputeMedianTurnAxisAndPoint ( const Vec2f entryDir,
const Vec2f exitDir,
Vec2f medianTurnAxis,
Vec3f midPoint 
) const

Computes median turn axis and position accordingly to provided entry and exit axis.

KyResult Kaim::Bubble::ComputeTangentBubble ( const Vec3f tangencyPosition,
const Vec3f position,
Bubble tangentBubble 
) const

Computes the Bubble tangent to this Bubble at the provided tangencyPosition and passing through an arbitrary position.


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