SimOne C++ API Reference 3.7.0
SimOne 仿真平台C++接口文档
Loading...
Searching...
No Matches
SimPoint3D.h
Go to the documentation of this file.
1// ==========================================================================
2// Copyright (C) 2018 - 2021 Beijing 51WORLD Digital Twin Technology Co., Ltd.
3// , and/or its licensors. All rights reserved.
4//
5// The coded instructions, statements, computer programs, and/or related
6// material (collectively the "Data") in these files contain unpublished
7// information proprietary to Beijing 51WORLD Digital Twin Technology Co., Ltd.
8// ("51WORLD") and/or its licensors, which is protected by the People's
9// Republic of China and/or other countries copyright law and by
10// international treaties.
11//
12// The Data may not be disclosed or distributed to third parties or be
13// copied or duplicated, in whole or in part, without the prior written
14// consent of 51WORLD.
15//
16// The copyright notices in the Software and this entire statement,
17// including the above license grant, this restriction and the following
18// disclaimer, must be included in all copies of the Software, in whole
19// or in part, and all derivative works of the Software, unless such copies
20// or derivative works are solely in the form of machine-executable object
21// code generated by a source language processor.
22
23// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
24// 51WORLD DOES NOT MAKE AND HEREBY DISCLAIMS ANY EXPRESS OR IMPLIED
25// WARRANTIES INCLUDING, BUT NOT LIMITED TO, THE WARRANTIES OF
26// NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
27// OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO
28// EVENT WILL 51WORLD AND/OR ITS LICENSORS BE LIABLE FOR ANY LOST
29// REVENUES, DATA, OR PROFITS, OR SPECIAL, DIRECT, INDIRECT, OR
30// CONSEQUENTIAL DAMAGES, EVEN IF 51WORLD AND/OR ITS LICENSORS HAS
31// BEEN ADVISED OF THE POSSIBILITY OR PROBABILITY OF SUCH DAMAGES.
32// ==========================================================================
33#pragma once
34
35#include "ssdexport.h"
36#include "SimVector.h"
37
38namespace SSD {
39
40 struct SSDEXPORT SimPoint3D
41 {
42 //@brief constructor.
44
45 //@brief constructor.
46 //@param [_x, _y, _z] is 3d point as input.
47 SimPoint3D(double _x, double _y, double _z);
48
49 //@brief destructor.
51
52 //@brief normalize function.
53 void Normalize();
54
55 //@brief x value.
56 double x;
57
58 //@brief y value.
59 double y;
60
61 //@brief z value.
62 double z;
63 };
64
65 template class SSDEXPORT SimVector<SimPoint3D>;
67}
Definition SimVector.h:42
Definition SimPoint2D.h:36
SimVector< SimPoint3D > SimPoint3DVector
Definition SimPoint3D.h:66
double z
Definition SimPoint3D.h:62
double x
Definition SimPoint3D.h:56
SimPoint3D(double _x, double _y, double _z)
double y
Definition SimPoint3D.h:59