SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
smtk
model
Vertex.h
1
//=========================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//=========================================================================
10
#ifndef smtk_model_Vertex_h
11
#define smtk_model_Vertex_h
12
13
#include "smtk/model/CellEntity.h"
14
15
//#include "smtk/common/Eigen.h" // For Vector3d
16
17
#include <vector>
18
19
namespace
smtk
20
{
21
namespace
model
22
{
23
24
class
Edge;
25
typedef
std::vector<Edge>
Edges
;
26
30
class
SMTKCORE_EXPORT
Vertex
:
public
CellEntity
31
{
32
public
:
33
SMTK_ENTITYREF_CLASS
(
Vertex
,
CellEntity
, isVertex);
34
35
Edges
edges()
const
;
36
37
double
* coordinates()
const
;
38
//smtk::common::Vector3d coordinates() const;
39
};
40
41
typedef
std::vector<Vertex>
Vertices
;
42
43
}
// namespace model
44
}
// namespace smtk
45
46
#endif // smtk_model_Vertex_h
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition:
doc.h:33
smtk::model::Vertices
std::vector< smtk::model::Vertex > Vertices
Definition:
PublicPointerDefs.h:216
smtk::model::Edges
std::vector< smtk::model::Edge > Edges
Definition:
PublicPointerDefs.h:168
smtk::model::CellEntity
A entityref subclass with methods specific to cell entities.
Definition:
CellEntity.h:30
smtk::model::Vertex
A entityref subclass that provides methods specific to 0-d vertex cells.
Definition:
Vertex.h:30
SMTK_ENTITYREF_CLASS
#define SMTK_ENTITYREF_CLASS(thisclass, superclass, typecheck)
A macro to implement mandatory EntityRef-subclass constructors.
Definition:
EntityRef.h:43
Generated by
1.8.17