Loading [MathJax]/extensions/TeX/AMSsymbols.js
CoolProp  6.7.1dev
An open-source fluid property and humid air property database
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
CoolProp::Plot::Isoline Class Reference

Detailed Description

A class representing a single isoline, returned by PropertyPlot::calc_isolines method. Isoline::x and Isoline::y members contain the x, y coordinates of points on the isoline in SI units of the x and y axis (respectively) of the queried PropertyPlot, and Isoline::value contains the value of the isoline in SI units.

Either x[i] or y[i] may be NaN if the isoline is not defined at that point, and should be treated as a discontinuity in the isoline.

Definition at line 34 of file CoolPropPlot.h.

#include <CoolPropPlot.h>

Public Member Functions

size_t size () const
 Convenience method to get the number of points in the isoline. size() = x.size() = y.size(). More...
 

Public Attributes

std::vector< double > x
 x positions of the isoline, in SI unit of the x axis of the queried PropertyPlot. May contain NaN values. More...
 
std::vector< double > y
 y positions of the isoline, in SI unit of the y axis of the queried PropertyPlot. May contain NaN values. More...
 
double value
 Value of the isoline in SI units. More...
 

Friends

class PropertyPlot
 

Member Function Documentation

◆ size()

size_t CoolProp::Plot::Isoline::size ( ) const
inline

Convenience method to get the number of points in the isoline. size() = x.size() = y.size().

Definition at line 44 of file CoolPropPlot.h.

Friends And Related Function Documentation

◆ PropertyPlot

friend class PropertyPlot
friend

Definition at line 60 of file CoolPropPlot.h.

Member Data Documentation

◆ value

double CoolProp::Plot::Isoline::value

Value of the isoline in SI units.

Definition at line 39 of file CoolPropPlot.h.

◆ x

std::vector<double> CoolProp::Plot::Isoline::x

x positions of the isoline, in SI unit of the x axis of the queried PropertyPlot. May contain NaN values.

Definition at line 37 of file CoolPropPlot.h.

◆ y

std::vector<double> CoolProp::Plot::Isoline::y

y positions of the isoline, in SI unit of the y axis of the queried PropertyPlot. May contain NaN values.

Definition at line 38 of file CoolPropPlot.h.


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