// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: twoColoredTube.iC,v 1.1.32.1 2007/03/25 21:26:13 oliver Exp $

BALL_INLINE
float TwoColoredTube::getLength() const
{
  return (getVertex1() - getVertex2()).getLength();
}

BALL_INLINE
Vector3 TwoColoredTube::getMiddleVertex() const
{
  return (getVertex1() + (getVertex2() - getVertex1()) / 2.0);
}

