llline.cpp File Reference

Simple line class that can compute nearest approach between two lines. More...

#include "llline.h"
#include "llrand.h"

Include dependency graph for llline.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &output_stream, const LLLine &line)

Variables

const F32 SOME_SMALL_NUMBER = 1.0e-5f
const F32 SOME_VERY_SMALL_NUMBER = 1.0e-8f
F32 ALMOST_PARALLEL = 0.99f
F32 TOO_SMALL_FOR_DIVISION = 0.0001f


Detailed Description

Simple line class that can compute nearest approach between two lines.

Simple line for computing nearest approach between two infinite lines.

Author:
Andrew Meadows
LicenseInfo
firstyear=2001&license=internal

Copyright (c) 2001-2008, Linden Research, Inc.

The following source code is PROPRIETARY AND CONFIDENTIAL. Use of this source code is governed by the Linden Lab Source Code Disclosure Agreement ("Agreement") previously entered between you and Linden Lab. By accessing, using, copying, modifying or distributing this software, you acknowledge that you have been informed of your obligations under the Agreement and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Author:
Andrew Meadows
LicenseInfo
firstyear=2006&license=internal

Copyright (c) 2006-2008, Linden Research, Inc.

The following source code is PROPRIETARY AND CONFIDENTIAL. Use of this source code is governed by the Linden Lab Source Code Disclosure Agreement ("Agreement") previously entered between you and Linden Lab. By accessing, using, copying, modifying or distributing this software, you acknowledge that you have been informed of your obligations under the Agreement and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llline.cpp.


Function Documentation

std::ostream& operator<< ( std::ostream &  output_stream,
const LLLine line 
)

Definition at line 107 of file llline.cpp.

References LLLine::mDirection, and LLLine::mPoint.


Variable Documentation

Definition at line 114 of file llline.cpp.

Referenced by LLLine::getIntersectionBetweenTwoPlanes().

const F32 SOME_SMALL_NUMBER = 1.0e-5f

Definition at line 26 of file llline.cpp.

const F32 SOME_VERY_SMALL_NUMBER = 1.0e-8f

Definition at line 27 of file llline.cpp.

Referenced by LLLine::nearestApproach().

Definition at line 115 of file llline.cpp.

Referenced by LLLine::intersectsPlane().


Generated on Fri May 16 08:35:06 2008 for SecondLife by  doxygen 1.5.5