Home
Getting started
Components overview
Topics
Components
Classes
Tutorials and Examples
Code snippets
Support
HitItemCollection.h
1
//##################################################################################################
2
//
3
// Ceetron Desktop Components
4
// Component: UnstructGrid
5
//
6
// --------------------------------------------------------------------------------------------
7
// Copyright (C) 2011, Ceetron AS
8
// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9
// not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10
// without the prior written permission of Ceetron AS.
11
//##################################################################################################
12
13
#pragma once
14
15
#include "CeeCore/Base.h"
16
#include "CeeCore/Pimpl.h"
17
#include "CeeUnstructGrid/Base.h"
18
#include "CeeUnstructGrid/HitItem.h"
19
20
namespace
cee
{
21
namespace
ug {
22
23
//==================================================================================================
24
//
26
//
27
//==================================================================================================
28
class
CEE_UG_EXPORT
HitItemCollection
29
{
30
public
:
31
HitItemCollection
();
32
HitItemCollection
(
const
HitItemCollection
& other);
33
virtual
~
HitItemCollection
();
34
35
HitItemCollection
& operator=(
const
HitItemCollection
& other);
36
37
size_t
count()
const
;
38
HitItem
item(
size_t
index)
const
;
39
void
add(
const
HitItem
& item);
40
41
HitItemCollection
firstItems(
double
equalItemThreshold)
const
;
42
43
44
private
:
45
CEE_PRIVATE_IMPL(
HitItemCollection
);
46
47
};
48
49
50
}
// namespace ug
51
}
// namespace cee
cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition:
AppComponent.cpp:26
cee::ug::HitItemCollection
A collection of HitItem instances.
Definition:
HitItemCollection.h:28
cee::ug::HitItem
Small class containing the data for a hit of an intersection between a ray and a part in an UnstructG...
Definition:
HitItem.h:26
CeeUnstructGrid
HitItemCollection.h
Updated: Fri Jun 17 2022 - Copyright © 2022 Ceetron AS