ReactOS  0.4.14-dev-552-g2fad488
GridTrimVertex Class Reference

#include <gridtrimvertex.h>

Inheritance diagram for GridTrimVertex:
Collaboration diagram for GridTrimVertex:

Public Member Functions

 GridTrimVertex ()
 
void set (long, long)
 
void set (REAL, REAL)
 
void set (TrimVertex *)
 
void clear (void)
 
int isGridVert ()
 
int isTrimVert ()
 
void output ()
 
- Public Member Functions inherited from PooledObj
voidoperator new (size_t, Pool &)
 
voidoperator new (size_t, void *)
 
voidoperator new (size_t s)
 
void operator delete (void *)
 
void operator delete (void *, Pool &)
 
void deleteMe (Pool &)
 

Public Attributes

TrimVertext
 
GridVertexg
 

Private Attributes

TrimVertex dummyt
 
GridVertex dummyg
 

Detailed Description

Definition at line 44 of file gridtrimvertex.h.

Constructor & Destructor Documentation

◆ GridTrimVertex()

GridTrimVertex::GridTrimVertex ( )
inline

Definition at line 50 of file gridtrimvertex.h.

50 { g = 0; t = 0; }
GLdouble GLdouble t
Definition: gl.h:2047
GLboolean GLboolean g
Definition: glext.h:6204

Member Function Documentation

◆ clear()

void GridTrimVertex::clear ( void  )
inline

Definition at line 57 of file gridtrimvertex.h.

57 { t = 0; g = 0; };
GLdouble GLdouble t
Definition: gl.h:2047
GLboolean GLboolean g
Definition: glext.h:6204

◆ isGridVert()

int GridTrimVertex::isGridVert ( )
inline

Definition at line 58 of file gridtrimvertex.h.

58 { return g ? 1 : 0 ; }
GLboolean GLboolean g
Definition: glext.h:6204

◆ isTrimVert()

int GridTrimVertex::isTrimVert ( )
inline

Definition at line 59 of file gridtrimvertex.h.

59 { return t ? 1 : 0 ; }
GLdouble GLdouble t
Definition: gl.h:2047

Referenced by Hull::nextlower(), and Hull::nextupper().

◆ output()

void GridTrimVertex::output ( )
inline

◆ set() [1/3]

void GridTrimVertex::set ( long  x,
long  y 
)
inline

Definition at line 64 of file gridtrimvertex.h.

65 {
66  g = &dummyg;
67  dummyg.gparam[0] = x;
68  dummyg.gparam[1] = y;
69 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
long gparam[2]
Definition: gridvertex.h:40
GLboolean GLboolean g
Definition: glext.h:6204
GridVertex dummyg
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

Referenced by CoveAndTiler::coveAndTile(), Hull::nextlower(), and Hull::nextupper().

◆ set() [2/3]

void GridTrimVertex::set ( REAL  x,
REAL  y 
)
inline

Definition at line 72 of file gridtrimvertex.h.

73 {
74  g = 0;
75  t = &dummyt;
76  dummyt.param[0] = x;
77  dummyt.param[1] = y;
78  dummyt.nuid = 0;
79 }
GLdouble GLdouble t
Definition: gl.h:2047
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLboolean GLboolean g
Definition: glext.h:6204
long nuid
Definition: trimvertex.h:50
TrimVertex dummyt
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
REAL param[2]
Definition: trimvertex.h:45

◆ set() [3/3]

void GridTrimVertex::set ( TrimVertex v)
inline

Definition at line 82 of file gridtrimvertex.h.

83 {
84  g = 0;
85  t = v;
86 }
GLdouble GLdouble t
Definition: gl.h:2047
GLboolean GLboolean g
Definition: glext.h:6204
const GLdouble * v
Definition: gl.h:2040

Member Data Documentation

◆ dummyg

GridVertex GridTrimVertex::dummyg
private

Definition at line 48 of file gridtrimvertex.h.

Referenced by set().

◆ dummyt

TrimVertex GridTrimVertex::dummyt
private

Definition at line 47 of file gridtrimvertex.h.

Referenced by set().

◆ g

GridVertex* GridTrimVertex::g

Definition at line 52 of file gridtrimvertex.h.

◆ t

TrimVertex* GridTrimVertex::t

Definition at line 51 of file gridtrimvertex.h.

Referenced by Mesher::mesh().


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