Gamp v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
gamp::graph::Vertex Class Reference

#include <PrimTypes.hpp>

Collaboration diagram for gamp::graph::Vertex:

Public Member Functions

constexpr Vertex () noexcept
 
constexpr Vertex (const float x_, const float y_, bool onCurve) noexcept
 
constexpr Vertex (const float x_, const float y_, const float z_, bool onCurve) noexcept
 
constexpr Vertex (const Vec2f &coord, bool onCurve) noexcept
 
constexpr Vertex (const Vec3f &coord, bool onCurve) noexcept
 
constexpr Vertex (const Vec3f &coord, const Vec3f &texCoord, bool onCurve) noexcept
 
constexpr Vertex (uint32_t id, bool onCurve, const Vec3f &texCoord) noexcept
 
constexpr Vertex clone () const noexcept
 
constexpr const Vec3fcoord () const noexcept
 
constexpr Vec3fcoord () noexcept
 
constexpr bool equals (const Vertex &o, const float epsilon=std::numeric_limits< float >::epsilon()) const noexcept
 
constexpr uint32_t id () const noexcept
 
constexpr uint32_t & id () noexcept
 
constexpr bool onCurve () const noexcept
 
constexpr bool & onCurve () noexcept
 
constexpr bool operator== (const Vertex &rhs) const noexcept
 
constexpr const Vec3ftexCoord () const noexcept
 
constexpr Vec3ftexCoord () noexcept
 
std::string toString () const noexcept
 
Vertex transform (const AffineTransform &t) const noexcept
 Returns a transformed copy of this instance using the given AffineTransform.
 

Detailed Description

Definition at line 39 of file PrimTypes.hpp.

Constructor & Destructor Documentation

◆ Vertex() [1/7]

gamp::graph::Vertex::Vertex ( )
inlineconstexprnoexcept

Definition at line 47 of file PrimTypes.hpp.

Here is the caller graph for this function:

◆ Vertex() [2/7]

gamp::graph::Vertex::Vertex ( const Vec3f & coord,
const Vec3f & texCoord,
bool onCurve )
inlineconstexprnoexcept

Definition at line 52 of file PrimTypes.hpp.

◆ Vertex() [3/7]

gamp::graph::Vertex::Vertex ( const float x_,
const float y_,
const float z_,
bool onCurve )
inlineconstexprnoexcept

Definition at line 60 of file PrimTypes.hpp.

◆ Vertex() [4/7]

gamp::graph::Vertex::Vertex ( const Vec2f & coord,
bool onCurve )
inlineconstexprnoexcept

Definition at line 64 of file PrimTypes.hpp.

◆ Vertex() [5/7]

gamp::graph::Vertex::Vertex ( const float x_,
const float y_,
bool onCurve )
inlineconstexprnoexcept

Definition at line 69 of file PrimTypes.hpp.

◆ Vertex() [6/7]

gamp::graph::Vertex::Vertex ( const Vec3f & coord,
bool onCurve )
inlineconstexprnoexcept

Definition at line 73 of file PrimTypes.hpp.

◆ Vertex() [7/7]

gamp::graph::Vertex::Vertex ( uint32_t id,
bool onCurve,
const Vec3f & texCoord )
inlineconstexprnoexcept

Definition at line 78 of file PrimTypes.hpp.

Member Function Documentation

◆ clone()

Vertex gamp::graph::Vertex::clone ( ) const
inlineconstexprnoexcept

Definition at line 56 of file PrimTypes.hpp.

◆ transform()

Vertex gamp::graph::Vertex::transform ( const AffineTransform & t) const
inlinenoexcept

Returns a transformed copy of this instance using the given AffineTransform.

Definition at line 84 of file PrimTypes.hpp.

◆ id() [1/2]

uint32_t gamp::graph::Vertex::id ( ) const
inlineconstexprnoexcept

Definition at line 90 of file PrimTypes.hpp.

◆ id() [2/2]

uint32_t & gamp::graph::Vertex::id ( )
inlineconstexprnoexcept

Definition at line 91 of file PrimTypes.hpp.

◆ coord() [1/2]

const Vec3f & gamp::graph::Vertex::coord ( ) const
inlineconstexprnoexcept
Examples
GraphShapes01.cpp.

Definition at line 93 of file PrimTypes.hpp.

Here is the caller graph for this function:

◆ coord() [2/2]

Vec3f & gamp::graph::Vertex::coord ( )
inlineconstexprnoexcept

Definition at line 94 of file PrimTypes.hpp.

◆ texCoord() [1/2]

const Vec3f & gamp::graph::Vertex::texCoord ( ) const
inlineconstexprnoexcept
Examples
GraphShapes01.cpp.

Definition at line 96 of file PrimTypes.hpp.

Here is the caller graph for this function:

◆ texCoord() [2/2]

Vec3f & gamp::graph::Vertex::texCoord ( )
inlineconstexprnoexcept

Definition at line 97 of file PrimTypes.hpp.

◆ onCurve() [1/2]

bool gamp::graph::Vertex::onCurve ( ) const
inlineconstexprnoexcept

Definition at line 99 of file PrimTypes.hpp.

Here is the caller graph for this function:

◆ onCurve() [2/2]

bool & gamp::graph::Vertex::onCurve ( )
inlineconstexprnoexcept

Definition at line 100 of file PrimTypes.hpp.

◆ equals()

bool gamp::graph::Vertex::equals ( const Vertex & o,
const float epsilon = std::numeric_limits<float>::epsilon() ) const
inlineconstexprnoexcept

Definition at line 102 of file PrimTypes.hpp.

Here is the caller graph for this function:

◆ operator==()

bool gamp::graph::Vertex::operator== ( const Vertex & rhs) const
inlineconstexprnoexcept

Definition at line 111 of file PrimTypes.hpp.

◆ toString()

std::string gamp::graph::Vertex::toString ( ) const
inlinenoexcept

Definition at line 115 of file PrimTypes.hpp.


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