ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
GenericTriangle.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // Local
11 #include "CVGeom.h"
12 
13 namespace cloudViewer {
14 
16 
19 public:
21  virtual ~GenericTriangle() = default;
22 
24  virtual const CCVector3* _getA() const = 0;
25 
27  virtual const CCVector3* _getB() const = 0;
28 
30  virtual const CCVector3* _getC() const = 0;
31 };
32 
33 } // namespace cloudViewer
#define CV_CORE_LIB_API
Definition: CVCoreLibWin.h:15
A generic triangle interface.
virtual const CCVector3 * _getA() const =0
Returns the first vertex (A)
virtual ~GenericTriangle()=default
Default destructor.
virtual const CCVector3 * _getC() const =0
Returns the third vertex (C)
virtual const CCVector3 * _getB() const =0
Returns the second vertex (B)
Generic file read and write utility for python interface.