本文整理汇总了C++中QualityMetricTester::ideal_pyramid_base_equals_height方法的典型用法代码示例。如果您正苦于以下问题:C++ QualityMetricTester::ideal_pyramid_base_equals_height方法的具体用法?C++ QualityMetricTester::ideal_pyramid_base_equals_height怎么用?C++ QualityMetricTester::ideal_pyramid_base_equals_height使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QualityMetricTester
的用法示例。
在下文中一共展示了QualityMetricTester::ideal_pyramid_base_equals_height方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: TMPQualityMetricTest
TMPQualityMetricTest() :
tester( QualityMetricTester::ALL_FE_EXCEPT_SEPTAHEDRON, &settings ),
e_weight( 2.7182818284590451 ),
faux_pi(3.14159), faux_zero(0.0), faux_two(2.0),
num_metric( &test_metric ),
test_qm( &ideal, &num_metric ),
test_qm_surf( &surf_target, &num_metric ),
zero_qm( &ideal, &faux_zero ),
weight_qm( &ideal, &e_weight, &test_metric ),
center_qm( &ideal, &test_metric ),
triCenter( centerOnly.get_mapping_function_2D(TRIANGLE) ),
quadCenter( centerOnly.get_mapping_function_2D(QUADRILATERAL) ),
tetCenter( centerOnly.get_mapping_function_3D(TETRAHEDRON) ),
pyrCenter( centerOnly.get_mapping_function_3D(PYRAMID) ),
priCenter( centerOnly.get_mapping_function_3D(PRISM) ),
hexCenter( centerOnly.get_mapping_function_3D(HEXAHEDRON) )
{
centerOnly.set_mapping_function( &triCenter );
centerOnly.set_mapping_function( &quadCenter );
centerOnly.set_mapping_function( &tetCenter );
centerOnly.set_mapping_function( &pyrCenter );
centerOnly.set_mapping_function( &priCenter );
centerOnly.set_mapping_function( &hexCenter );
tester.ideal_pyramid_base_equals_height( true );
}
示例2: IdealWeightInverseMeanRatioTest
IdealWeightInverseMeanRatioTest()
: tester(QualityMetricTester::ALL_FE_EXCEPT_SEPTAHEDRON)
{ tester.ideal_pyramid_base_equals_height( true ); }