xmsmesh
1.0
|
Class for testing MePolyRedistributePtsCurvature. More...
#include <MePolyRedistributePtsCurvature.t.h>
Public Member Functions | |
void | testCreateClass () |
tests creating the class | |
void | testSetup () |
tests a simple case shown below More... | |
void | testGetSignificantPoints () |
tests a simple case shown below More... | |
void | testCalculateCurvature () |
tests a simple case shown below More... | |
void | testShiftAndAggregateOpen () |
tests a simple case shown below More... | |
void | testShiftAndAggregateClosed () |
tests a simple case shown below More... | |
void | testDoSmoothing () |
tests a simple case shown below More... | |
void | testNewPointsFromParamCurvs () |
tests a simple case shown below More... | |
Class for testing MePolyRedistributePtsCurvature.
Definition at line 29 of file MePolyRedistributePtsCurvature.t.h.
void MePolyRedistributePtsCurvatureUnitTests::testCalculateCurvature | ( | ) |
tests a simple case shown below
Definition at line 634 of file MePolyRedistributePtsCurvature.cpp.
References xms::MePolyRedistributePtsCurvatureImpl::CalculateCurvature(), xms::MePolyRedistributePtsCurvatureImpl::GetSignificantPoints(), xms::MePolyRedistributePtsCurvatureImpl::m_curvature, xms::MePolyRedistributePtsCurvatureImpl::m_parametricDistance, xms::MePolyRedistributePtsCurvatureImpl::Setup(), and TS_ASSERT_DELTA_VEC.
void MePolyRedistributePtsCurvatureUnitTests::testDoSmoothing | ( | ) |
tests a simple case shown below
Definition at line 750 of file MePolyRedistributePtsCurvature.cpp.
References xms::MePolyRedistributePtsCurvatureImpl::CalculateCurvature(), xms::MePolyRedistributePtsCurvatureImpl::DoSmoothing(), xms::MePolyRedistributePtsCurvatureImpl::GetSignificantPoints(), xms::MePolyRedistributePtsCurvatureImpl::m_curvature, xms::MePolyRedistributePtsCurvatureImpl::m_parametricDistance, xms::MePolyRedistributePtsCurvatureImpl::Setup(), xms::MePolyRedistributePtsCurvatureImpl::ShiftAndAggregateOpen(), and TS_ASSERT_DELTA_VEC.
void MePolyRedistributePtsCurvatureUnitTests::testGetSignificantPoints | ( | ) |
tests a simple case shown below
Definition at line 605 of file MePolyRedistributePtsCurvature.cpp.
References xms::MePolyRedistributePtsCurvatureImpl::GetSignificantPoints(), xms::MePolyRedistributePtsCurvatureImpl::m_curvature, xms::MePolyRedistributePtsCurvatureImpl::m_parametricDistance, xms::MePolyRedistributePtsCurvatureImpl::Setup(), and TS_ASSERT_DELTA_VEC.
void MePolyRedistributePtsCurvatureUnitTests::testNewPointsFromParamCurvs | ( | ) |
tests a simple case shown below
Definition at line 786 of file MePolyRedistributePtsCurvature.cpp.
References xms::MePolyRedistributePtsCurvatureImpl::CalculateCurvature(), xms::MePolyRedistributePtsCurvatureImpl::DoSmoothing(), xms::MePolyRedistributePtsCurvatureImpl::GetSignificantPoints(), xms::MePolyRedistributePtsCurvatureImpl::NewPointsFromParamCurvs(), xms::MePolyRedistributePtsCurvatureImpl::Setup(), xms::MePolyRedistributePtsCurvatureImpl::ShiftAndAggregateClosed(), xms::MePolyRedistributePtsCurvatureImpl::ShiftAndAggregateOpen(), and TS_ASSERT_DELTA_VECPT3D.
void MePolyRedistributePtsCurvatureUnitTests::testSetup | ( | ) |
tests a simple case shown below
Definition at line 541 of file MePolyRedistributePtsCurvature.cpp.
References xms::MePolyRedistributePtsCurvatureImpl::m_accumulatedSegmentLengths, xms::MePolyRedistributePtsCurvatureImpl::m_curvature, xms::MePolyRedistributePtsCurvatureImpl::m_length, xms::MePolyRedistributePtsCurvatureImpl::m_open, xms::MePolyRedistributePtsCurvatureImpl::m_parametricDistance, xms::MePolyRedistributePtsCurvatureImpl::m_points, xms::MePolyRedistributePtsCurvatureImpl::m_segmentLengths, xms::MePolyRedistributePtsCurvatureImpl::m_tol, xms::MePolyRedistributePtsCurvatureImpl::Setup(), and TS_ASSERT_DELTA_VEC.
void MePolyRedistributePtsCurvatureUnitTests::testShiftAndAggregateClosed | ( | ) |
tests a simple case shown below
Definition at line 715 of file MePolyRedistributePtsCurvature.cpp.
References xms::MePolyRedistributePtsCurvatureImpl::CalculateCurvature(), xms::MePolyRedistributePtsCurvatureImpl::GetSignificantPoints(), xms::MePolyRedistributePtsCurvatureImpl::m_curvature, xms::MePolyRedistributePtsCurvatureImpl::m_parametricDistance, xms::MePolyRedistributePtsCurvatureImpl::Setup(), xms::MePolyRedistributePtsCurvatureImpl::ShiftAndAggregateClosed(), and TS_ASSERT_DELTA_VEC.
void MePolyRedistributePtsCurvatureUnitTests::testShiftAndAggregateOpen | ( | ) |
tests a simple case shown below
Definition at line 681 of file MePolyRedistributePtsCurvature.cpp.
References xms::MePolyRedistributePtsCurvatureImpl::CalculateCurvature(), xms::MePolyRedistributePtsCurvatureImpl::GetSignificantPoints(), xms::MePolyRedistributePtsCurvatureImpl::m_curvature, xms::MePolyRedistributePtsCurvatureImpl::m_parametricDistance, xms::MePolyRedistributePtsCurvatureImpl::Setup(), xms::MePolyRedistributePtsCurvatureImpl::ShiftAndAggregateOpen(), and TS_ASSERT_DELTA_VEC.