te::mnt::Smooth Class Reference

#include <Smooth.h>

Public Member Functions

bool run ()
 
void setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetType > inDsetType)
 
void setOutput (te::da::DataSourcePtr outDsrc, std::string dsname)
 
void setParams (double factor, double max_dist, bool simpl)
 
void setSRID (int srid)
 
 Smooth ()
 
 ~Smooth ()
 

Protected Attributes

double m_factor
 
std::string m_inDsetName
 
std::unique_ptr< te::da::DataSetTypem_inDsetType
 
te::da::DataSourcePtr m_inDsrc
 
double m_maxdist
 
std::string m_outDsetName
 
te::da::DataSourcePtr m_outDsrc
 
bool m_simpl_out
 
int m_srid
 Attribute with spatial reference information. More...
 

Private Member Functions

bool AdjustCatmullRom (te::gm::LineString &iso)
 
bool middlePointWithSnap (te::gm::Coord2D &pfr, te::gm::Coord2D &pto, te::gm::Coord2D &pt0, te::gm::Coord2D &pt1, double d)
 

Detailed Description

Definition at line 23 of file Smooth.h.

Constructor & Destructor Documentation

◆ Smooth()

te::mnt::Smooth::Smooth ( )

◆ ~Smooth()

te::mnt::Smooth::~Smooth ( )

Member Function Documentation

◆ AdjustCatmullRom()

bool te::mnt::Smooth::AdjustCatmullRom ( te::gm::LineString iso)
private

◆ middlePointWithSnap()

bool te::mnt::Smooth::middlePointWithSnap ( te::gm::Coord2D pfr,
te::gm::Coord2D pto,
te::gm::Coord2D pt0,
te::gm::Coord2D pt1,
double  d 
)
private

◆ run()

bool te::mnt::Smooth::run ( )

◆ setInput()

void te::mnt::Smooth::setInput ( te::da::DataSourcePtr  inDsrc,
std::string  inDsetName,
std::unique_ptr< te::da::DataSetType inDsetType 
)

◆ setOutput()

void te::mnt::Smooth::setOutput ( te::da::DataSourcePtr  outDsrc,
std::string  dsname 
)

◆ setParams()

void te::mnt::Smooth::setParams ( double  factor,
double  max_dist,
bool  simpl 
)

◆ setSRID()

void te::mnt::Smooth::setSRID ( int  srid)
inline

Function used to set the Spatial Reference System ID

Definition at line 38 of file Smooth.h.

Member Data Documentation

◆ m_factor

double te::mnt::Smooth::m_factor
protected

Definition at line 57 of file Smooth.h.

◆ m_inDsetName

std::string te::mnt::Smooth::m_inDsetName
protected

Definition at line 50 of file Smooth.h.

◆ m_inDsetType

std::unique_ptr<te::da::DataSetType> te::mnt::Smooth::m_inDsetType
protected

Definition at line 51 of file Smooth.h.

◆ m_inDsrc

te::da::DataSourcePtr te::mnt::Smooth::m_inDsrc
protected

Definition at line 49 of file Smooth.h.

◆ m_maxdist

double te::mnt::Smooth::m_maxdist
protected

Definition at line 58 of file Smooth.h.

◆ m_outDsetName

std::string te::mnt::Smooth::m_outDsetName
protected

Definition at line 54 of file Smooth.h.

◆ m_outDsrc

te::da::DataSourcePtr te::mnt::Smooth::m_outDsrc
protected

Definition at line 53 of file Smooth.h.

◆ m_simpl_out

bool te::mnt::Smooth::m_simpl_out
protected

Definition at line 59 of file Smooth.h.

◆ m_srid

int te::mnt::Smooth::m_srid
protected

Attribute with spatial reference information.

Definition at line 56 of file Smooth.h.


The documentation for this class was generated from the following file: