w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

graphite2::Zones::Exclusion Struct Reference

Public Member Functions

 Exclusion (float x, float w, float smi, float smxi, float c)
 
Exclusionoperator+= (Exclusion const &rhs)
 
uint8 outcode (float p) const
 
Exclusion split_at (float p)
 
void left_trim (float p)
 
bool track_cost (float &cost, float &x, float origin) const
 
 Exclusion (float x, float w, float smi, float smxi, float c)
 
Exclusionoperator+= (Exclusion const &rhs)
 
uint8 outcode (float p) const
 
Exclusion split_at (float p)
 
void left_trim (float p)
 
bool track_cost (float &cost, float &x, float origin) const
 
template<>
Zones::Exclusion weighted (float xmin, float xmax, float f, float a0, float m, float xi, GR_MAYBE_UNUSED float ai, float c, GR_MAYBE_UNUSED bool nega)
 
template<>
Zones::Exclusion weighted (float xmin, float xmax, float f, float a0, float m, float xi, float ai, float c, bool nega)
 

Static Public Member Functions

template<zones_t O>
static Exclusion weighted (float xmin, float xmax, float f, float a0, float m, float xi, float ai, float c, bool nega)
 
template<zones_t O>
static Exclusion weighted (float xmin, float xmax, float f, float a0, float m, float xi, float ai, float c, bool nega)
 

Public Attributes

float x
 
float xm
 
float c
 
float sm
 
float smx
 
bool open
 

Private Member Functions

float test_position (float origin) const
 
float cost (float x) const
 
float test_position (float origin) const
 
float cost (float x) const
 

Detailed Description

Definition at line 49 of file Intervals.h.

Constructor & Destructor Documentation

◆ Exclusion() [1/2]

graphite2::Zones::Exclusion::Exclusion ( float  x,
float  w,
float  smi,
float  smxi,
float  c 
)
inline

Definition at line 154 of file Intervals.h.

◆ Exclusion() [2/2]

graphite2::Zones::Exclusion::Exclusion ( float  x,
float  w,
float  smi,
float  smxi,
float  c 
)

Member Function Documentation

◆ cost() [1/2]

float Zones::Exclusion::cost ( float  x) const
inlineprivate

Definition at line 242 of file Intervals.cpp.

References c, and p.

◆ cost() [2/2]

float graphite2::Zones::Exclusion::cost ( float  x) const
private

◆ left_trim() [1/2]

void Zones::Exclusion::left_trim ( float  p)
inline

Definition at line 49 of file Intervals.cpp.

References p, and cordic::x.

◆ left_trim() [2/2]

void graphite2::Zones::Exclusion::left_trim ( float  p)

◆ operator+=() [1/2]

Zones::Exclusion & Zones::Exclusion::operator+= ( Exclusion const rhs)
inline

Definition at line 54 of file Intervals.cpp.

References c, c, open, sm, and smx.

◆ operator+=() [2/2]

Exclusion& graphite2::Zones::Exclusion::operator+= ( Exclusion const rhs)

◆ outcode() [1/2]

uint8 Zones::Exclusion::outcode ( float  p) const
inline

Definition at line 60 of file Intervals.cpp.

References d, p, val, and cordic::x.

◆ outcode() [2/2]

uint8 graphite2::Zones::Exclusion::outcode ( float  p) const

◆ split_at() [1/2]

Zones::Exclusion Zones::Exclusion::split_at ( float  p)
inline

Definition at line 42 of file Intervals.cpp.

References p, r, and x.

◆ split_at() [2/2]

Exclusion graphite2::Zones::Exclusion::split_at ( float  p)

◆ test_position() [1/2]

float Zones::Exclusion::test_position ( float  origin) const
private

Definition at line 247 of file Intervals.cpp.

References cr, res, and cordic::x.

◆ test_position() [2/2]

float graphite2::Zones::Exclusion::test_position ( float  origin) const
private

◆ track_cost() [1/2]

bool Zones::Exclusion::track_cost ( float &  cost,
float &  x,
float  origin 
) const

Definition at line 228 of file Intervals.cpp.

References open, and p.

◆ track_cost() [2/2]

bool graphite2::Zones::Exclusion::track_cost ( float &  cost,
float &  x,
float  origin 
) const

◆ weighted() [1/4]

template<zones_t O>
static Exclusion graphite2::Zones::Exclusion::weighted ( float  xmin,
float  xmax,
float  f,
float  a0,
float  m,
float  xi,
float  ai,
float  c,
bool  nega 
)
static

◆ weighted() [2/4]

Zones::Exclusion graphite2::Zones::Exclusion::weighted< SD > ( float  xmin,
float  xmax,
float  f,
float  a0,
float  m,
float  xi,
float  ai,
float  c,
bool  nega 
)
inline

Definition at line 225 of file Intervals.h.

References a0, c, f, and m.

◆ weighted() [3/4]

template<zones_t O>
static Exclusion graphite2::Zones::Exclusion::weighted ( float  xmin,
float  xmax,
float  f,
float  a0,
float  m,
float  xi,
float  ai,
float  c,
bool  nega 
)
static

◆ weighted() [4/4]

Zones::Exclusion graphite2::Zones::Exclusion::weighted< XY > ( float  xmin,
float  xmax,
float  f,
float  a0,
float  m,
float  xi,
GR_MAYBE_UNUSED float  ai,
float  c,
GR_MAYBE_UNUSED bool  nega 
)
inline

Definition at line 215 of file Intervals.h.

References a0, c, f, and m.

Member Data Documentation

◆ c

float graphite2::Zones::Exclusion::c

Definition at line 57 of file Intervals.h.

Referenced by operator+=().

◆ open

bool graphite2::Zones::Exclusion::open

Definition at line 60 of file Intervals.h.

Referenced by graphite2::Zones::initialise().

◆ sm

float graphite2::Zones::Exclusion::sm

Definition at line 58 of file Intervals.h.

Referenced by operator+=().

◆ smx

float graphite2::Zones::Exclusion::smx

Definition at line 59 of file Intervals.h.

Referenced by operator+=().

◆ x

float graphite2::Zones::Exclusion::x

Definition at line 55 of file Intervals.h.

Referenced by pdf-org.Ref::__str__(), pdf.Ref::__str__(), and split_at().

◆ xm

float graphite2::Zones::Exclusion::xm

Definition at line 56 of file Intervals.h.


The documentation for this struct was generated from the following files: