NAPISD
PAHdb website C++ backend
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Line Class Reference
Inheritance diagram for Line:
CanvasItem LineProperties

Public Member Functions

Lineclone () const
 
void setStartCoordinates (const std::array< double, 3 > &coordinates)
 
void setStartCoordinates (double x, double y, double z)
 
std::array< double, 3 > const & getStartCoordinates () const
 
void setEndCoordinates (const std::array< double, 3 > &coordinates)
 
void setEndCoordinates (double x, double y, double z)
 
std::array< double, 3 > const & getEndCoordinates () const
 
- Public Member Functions inherited from LineProperties
void setColor (std::string_view color)
 
std::string_view getColor () const
 
void setLineWidth (int width)
 
const int & getLineWidth () const
 
void setLineStyle (Style style)
 
const Style & getLineStyle () const
 

Additional Inherited Members

- Public Types inherited from CanvasItem
enum class  Type : char {
  I_None , I_Point , I_Line , I_Curve ,
  I_Plot , I_Text , I_Panels
}
 
- Public Types inherited from LineProperties
enum class  Style : char {
  Continuous = 1 , Dashed , LongDashed , LongDashedShortGaps ,
  DashedLongGasp
}
 
- Public Attributes inherited from CanvasItem
Type type
 

Detailed Description

Definition at line 9 of file Line.h.

Constructor & Destructor Documentation

◆ Line()

Line::Line ( )

Definition at line 3 of file Line.cpp.

Member Function Documentation

◆ clone()

Line * Line::clone ( ) const
virtual

Reimplemented from CanvasItem.

Definition at line 7 of file Line.cpp.

◆ getEndCoordinates()

std::array< double, 3 > const & Line::getEndCoordinates ( ) const
inline

Definition at line 45 of file Line.h.

◆ getStartCoordinates()

std::array< double, 3 > const & Line::getStartCoordinates ( ) const
inline

Definition at line 37 of file Line.h.

◆ setEndCoordinates() [1/2]

void Line::setEndCoordinates ( const std::array< double, 3 > &  coordinates)
inline

Definition at line 41 of file Line.h.

◆ setEndCoordinates() [2/2]

void Line::setEndCoordinates ( double  x,
double  y,
double  z 
)

Definition at line 13 of file Line.cpp.

◆ setStartCoordinates() [1/2]

void Line::setStartCoordinates ( const std::array< double, 3 > &  coordinates)
inline

Definition at line 33 of file Line.h.

◆ setStartCoordinates() [2/2]

void Line::setStartCoordinates ( double  x,
double  y,
double  z 
)

Definition at line 8 of file Line.cpp.


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

Since FY2019 the NASA Ames PAH IR Spectroscopic Database is being supported through a directed Work Package at NASA Ames titled: "Laboratory Astrophysics - The NASA Ames PAH IR Spectroscopic Database".
Since FY2023 the NASA Ames PAH IR Spectroscopic Database is being supported through the Laboratory Astrophysics Rd 2 directed Work Package at NASA Ames.
© Copyright 2021-2025, Christiaan Boersma