Peano
Loading...
Searching...
No Matches
toolbox::curvi::Edge Class Reference

#include <Edge.h>

Collaboration diagram for toolbox::curvi::Edge:

Public Member Functions

 Edge (Coordinate a_direction)
 Edge (std::vector< double > a_data, Coordinate a_direction)
 Edge (Coordinate a_direction, double start[3], double stop[3], int n)
 Edge (const Edge &other)
Edge & operator= (Edge other)
Edge subedge (int start, int stop)
void split (double intersection_node[3], Edge &left_edge, Edge &right_edge)
Edge remesh (int numNodesNew)
Edge interpolate (const std::vector< double > &range_in, const std::vector< double > &range_out, int window=11)
void resize (int i)
void push_back (double d)
int size () const
int numNodes () const
std::string printEdge () const
double & operator() (int coord, int i)
const double & operator() (int coord, int i) const
std::vector< double > & getData ()
Coordinate getDirection ()

Private Attributes

Coordinate direction
std::vector< double > data

Friends

std::ostream & operator<< (std::ostream &ss, const Edge &e)

Detailed Description

Definition at line 10 of file Edge.h.

Constructor & Destructor Documentation

◆ Edge() [1/4]

toolbox::curvi::Edge::Edge ( Coordinate a_direction)

Referenced by Edge(), interpolate(), operator<<, operator=(), remesh(), split(), and subedge().

Here is the caller graph for this function:

◆ Edge() [2/4]

toolbox::curvi::Edge::Edge ( std::vector< double > a_data,
Coordinate a_direction )

◆ Edge() [3/4]

toolbox::curvi::Edge::Edge ( Coordinate a_direction,
double start[3],
double stop[3],
int n )

◆ Edge() [4/4]

toolbox::curvi::Edge::Edge ( const Edge & other)

References Edge().

Here is the call graph for this function:

Member Function Documentation

◆ getData()

std::vector< double > & toolbox::curvi::Edge::getData ( )

◆ getDirection()

Coordinate toolbox::curvi::Edge::getDirection ( )

Definition at line 41 of file Edge.h.

References direction.

◆ interpolate()

Edge toolbox::curvi::Edge::interpolate ( const std::vector< double > & range_in,
const std::vector< double > & range_out,
int window = 11 )

References Edge().

Here is the call graph for this function:

◆ numNodes()

int toolbox::curvi::Edge::numNodes ( ) const

◆ operator()() [1/2]

double & toolbox::curvi::Edge::operator() ( int coord,
int i )

◆ operator()() [2/2]

const double & toolbox::curvi::Edge::operator() ( int coord,
int i ) const

◆ operator=()

Edge & toolbox::curvi::Edge::operator= ( Edge other)

References Edge().

Here is the call graph for this function:

◆ printEdge()

std::string toolbox::curvi::Edge::printEdge ( ) const

◆ push_back()

void toolbox::curvi::Edge::push_back ( double d)

◆ remesh()

Edge toolbox::curvi::Edge::remesh ( int numNodesNew)

References Edge().

Here is the call graph for this function:

◆ resize()

void toolbox::curvi::Edge::resize ( int i)

◆ size()

int toolbox::curvi::Edge::size ( ) const

◆ split()

void toolbox::curvi::Edge::split ( double intersection_node[3],
Edge & left_edge,
Edge & right_edge )

References Edge().

Here is the call graph for this function:

◆ subedge()

Edge toolbox::curvi::Edge::subedge ( int start,
int stop )

References Edge().

Here is the call graph for this function:

◆ operator<<

std::ostream & operator<< ( std::ostream & ss,
const Edge & e )
friend

References Edge().

Field Documentation

◆ data

std::vector<double> toolbox::curvi::Edge::data
private

Definition at line 45 of file Edge.h.

◆ direction

Coordinate toolbox::curvi::Edge::direction
private

Definition at line 44 of file Edge.h.

Referenced by getDirection().


The documentation for this class was generated from the following file:
  • src/toolbox/curvi/geometry/Edge.h