List of all members | Public Member Functions | Private Member Functions | Private Attributes
testGeometryUtilities Class Reference
Inheritance diagram for testGeometryUtilities:
Inheritance graph
[legend]

Public Member Functions

void setUp ()
 
void tearDown ()
 
void testLineCtor ()
 
void testLineLineDistance ()
 
void testLinePlaneIntersection1 ()
 
void testLinePointDistance ()
 
void testNormalizeAngleMinusPiPi ()
 
void testPerpendicularProjection ()
 
void testPlaneCtor ()
 
void testPlanePlaneIntersection1 ()
 
void testPlanePlaneIntersection2 ()
 
void testPlanePlaneIntersection3 ()
 
void testPlanePointDistance ()
 

Private Member Functions

void CheckIntersection (const Plane &plane1, const Plane &plane2, const Vector &resDirection, const Point &resAnchor) const
 
void CheckIntersection (const Plane &plane, const Line &line, const Point &resPoint) const
 
void CheckProjection (const Plane &plane, const Point &point, const Point &resPoint) const
 
 CPPUNIT_TEST (testNormalizeAngleMinusPiPi)
 
 CPPUNIT_TEST (testPlaneCtor)
 
 CPPUNIT_TEST (testLineCtor)
 
 CPPUNIT_TEST (testLineLineDistance)
 
 CPPUNIT_TEST (testLinePointDistance)
 
 CPPUNIT_TEST (testPlanePointDistance)
 
 CPPUNIT_TEST (testPlanePlaneIntersection1)
 
 CPPUNIT_TEST (testPlanePlaneIntersection2)
 
 CPPUNIT_TEST (testPlanePlaneIntersection3)
 
 CPPUNIT_TEST (testLinePlaneIntersection1)
 
 CPPUNIT_TEST (testPerpendicularProjection)
 
 CPPUNIT_TEST_SUITE (testGeometryUtilities)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

CoordinateSystemPtr fCS
 

Detailed Description

Definition at line 27 of file testGeometryUtilities.cc.

Member Function Documentation

void testGeometryUtilities::CheckIntersection ( const Plane plane1,
const Plane plane2,
const Vector resDirection,
const Point resAnchor 
) const
inlineprivate
void testGeometryUtilities::CheckIntersection ( const Plane plane,
const Line line,
const Point resPoint 
) const
inlineprivate

Definition at line 60 of file testGeometryUtilities.cc.

References Distance(), utl::Intersection(), and TEST.

void testGeometryUtilities::CheckProjection ( const Plane plane,
const Point point,
const Point resPoint 
) const
inlineprivate

Definition at line 71 of file testGeometryUtilities.cc.

References Distance(), utl::PerpendicularProjection(), and TEST.

testGeometryUtilities::CPPUNIT_TEST ( testNormalizeAngleMinusPiPi  )
private
testGeometryUtilities::CPPUNIT_TEST ( testPlaneCtor  )
private
testGeometryUtilities::CPPUNIT_TEST ( testLineCtor  )
private
testGeometryUtilities::CPPUNIT_TEST ( testLineLineDistance  )
private
testGeometryUtilities::CPPUNIT_TEST ( testLinePointDistance  )
private
testGeometryUtilities::CPPUNIT_TEST ( testPlanePointDistance  )
private
testGeometryUtilities::CPPUNIT_TEST ( testPlanePlaneIntersection1  )
private
testGeometryUtilities::CPPUNIT_TEST ( testPlanePlaneIntersection2  )
private
testGeometryUtilities::CPPUNIT_TEST ( testPlanePlaneIntersection3  )
private
testGeometryUtilities::CPPUNIT_TEST ( testLinePlaneIntersection1  )
private
testGeometryUtilities::CPPUNIT_TEST ( testPerpendicularProjection  )
private
testGeometryUtilities::CPPUNIT_TEST_SUITE ( testGeometryUtilities  )
private
testGeometryUtilities::CPPUNIT_TEST_SUITE_END ( )
private
void testGeometryUtilities::setUp ( )
inline

Definition at line 83 of file testGeometryUtilities.cc.

void testGeometryUtilities::tearDown ( )
inline

Definition at line 85 of file testGeometryUtilities.cc.

void testGeometryUtilities::testLineCtor ( )
inline
void testGeometryUtilities::testLineLineDistance ( )
inline

Definition at line 117 of file testGeometryUtilities.cc.

References Distance(), and TEST.

void testGeometryUtilities::testLinePlaneIntersection1 ( )
inline
void testGeometryUtilities::testLinePointDistance ( )
inline

Definition at line 127 of file testGeometryUtilities.cc.

References Distance(), utl::Line::GetDirection(), sqrt(), and TEST.

void testGeometryUtilities::testNormalizeAngleMinusPiPi ( )
inline

Definition at line 88 of file testGeometryUtilities.cc.

References utl::kPi, utl::NormalizeAngleMinusPiPi(), and TEST.

void testGeometryUtilities::testPerpendicularProjection ( )
inline
void testGeometryUtilities::testPlaneCtor ( )
inline
void testGeometryUtilities::testPlanePlaneIntersection1 ( )
inline
void testGeometryUtilities::testPlanePlaneIntersection2 ( )
inline
void testGeometryUtilities::testPlanePlaneIntersection3 ( )
inline

Definition at line 177 of file testGeometryUtilities.cc.

References TelescopeSimulatorKG::RTFunctions::Plane(), and sqrt().

void testGeometryUtilities::testPlanePointDistance ( )
inline

Definition at line 137 of file testGeometryUtilities.cc.

References Distance(), sqrt(), and TEST.

Member Data Documentation

CoordinateSystemPtr testGeometryUtilities::fCS
private

Definition at line 80 of file testGeometryUtilities.cc.


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

, generated on Tue Sep 26 2023.