rsvs3D  0.0.0
Codes for the c++ implementation of the 3D RSVS
snake.hpp File Reference

Provides the core restricted surface snake container. More...

#include <cmath>
#include <iostream>
#include <unordered_map>
#include <vector>
#include "arraystructures.hpp"
#include "mesh.hpp"

Go to the source code of this file.

Classes

class  snaxarray
 
class  snake
 
class  snax
 
class  snaxedge
 
class  snaxsurf
 

Typedefs

typedef SnakStruct< snaxedgesnaxedgearray
 
typedef SnakStruct< snaxsurfsnaxsurfarray
 

Functions

double SnaxImpactDt (const snax &snax1, const snax &snax2)
 
int CompareSnakeInternalStatus (const std::vector< bool > &thisVec, bool thisFlipped, const std::vector< bool > &otherVec, bool otherFlipped)
 
int Test_SnakeStructures ()
 
int Test_coordvec ()
 
int Test_snax ()
 
int Test_snaxedge ()
 
int Test_snake ()
 
int Test_snakeinit_random ()
 
int Test_snakeinit_unit ()
 
int Test_snakeinit_unitnoreflect ()
 
int Test_snakeinit_random_short ()
 
int Test_snakeinit_unit_short ()
 
int Test_snakeinit_unitnoreflect_short ()
 
int Test_snakeinit_MC ()
 
int Test_snakeOrderEdges ()
 
int Test_snakeinitflat ()
 
void Test_stepalgo (snake &testSnake, std::vector< int > &isImpact)
 
void Test_stepalgo_mergeclean (snake &testSnake, std::vector< int > &isImpact)
 

Detailed Description

Provides the core restricted surface snake container.

This container allows efficient and robust geometry and topology evolution.

Definition in file snake.hpp.