Blender V5.3
blender::ed::curves::tests Namespace Reference

Classes

class  CurvesEditorsTest

Functions

static bke::CurvesGeometry create_curves (const Span< Vector< float3 > > all_positions, const int order, const Set< int > &is_cyclic)
static bke::CurvesGeometry create_curves (const Vector< float3 > positions, const int order, const Set< int > &is_cyclic)
static void validate_positions (const Span< Vector< float3 > > expected_positions, const OffsetIndices< int > points_by_curve, const Span< float3 > positions)
 TEST_F (CurvesEditorsTest, DuplicatePointsTwoSingle)
 TEST_F (CurvesEditorsTest, DuplicatePointsFourThree)
 TEST_F (CurvesEditorsTest, DuplicatePointsTwoCyclic)
 TEST_F (CurvesEditorsTest, SplitPointsTwoSingle)
 TEST_F (CurvesEditorsTest, SplitPointsFourThree)
 TEST_F (CurvesEditorsTest, SplitPointsTwoCyclic)
 TEST_F (CurvesEditorsTest, SplitPointsTwoTouchCyclic)
 TEST_F (CurvesEditorsTest, SplitEverySecondCyclic)
 TEST_F (CurvesEditorsTest, SplitAllSelectedButFirstCyclic)
 TEST_F (CurvesEditorsTest, SplitTwoOnSeamAndExtraCyclic)

Function Documentation

◆ create_curves() [1/2]

◆ create_curves() [2/2]

bke::CurvesGeometry blender::ed::curves::tests::create_curves ( const Vector< float3 > positions,
const int order,
const Set< int > & is_cyclic )
static

Definition at line 45 of file curves_edit_test.cc.

References create_curves().

◆ TEST_F() [1/10]

◆ TEST_F() [2/10]

◆ TEST_F() [3/10]

◆ TEST_F() [4/10]

◆ TEST_F() [5/10]

◆ TEST_F() [6/10]

◆ TEST_F() [7/10]

◆ TEST_F() [8/10]

◆ TEST_F() [9/10]

◆ TEST_F() [10/10]

◆ validate_positions()

void blender::ed::curves::tests::validate_positions ( const Span< Vector< float3 > > expected_positions,
const OffsetIndices< int > points_by_curve,
const Span< float3 > positions )
static