| Visioscan Set SDK Libraries 1.0.28 Visioscan Set SDK Help documentation file for C++ and C++/CLI |

Loading...
Searching...
No Matches
WAngleRange.h
1#pragma once
2#include <RawDataSensor.h>
6 public ref class WAngleRange
7{
8 public:
9 WAngleRange() {
10 _angleRange = new AngleRange();
11 }
12 WAngleRange(WAngleRange^ toCopy) {
13 _angleRange = new AngleRange();
14 Start = toCopy->Start;
15 Stop = toCopy->Stop;
16 }
17 ~WAngleRange() {
18 delete(_angleRange);
19 }
20
21 property int Start {
22 int get() {
23 return _angleRange->GetStart();
24 }
25 void set(int x) {
26 _angleRange->SetStart(x);
27 }
28 }
29
30 property int Stop {
31 int get() {
32 return _angleRange->GetStop();
33 }
34 void set(int x) {
35 _angleRange->SetStop(x);
36 }
37 }
38 property AngleRange* __native {
39 AngleRange* get() {
40 return _angleRange;
41 }
42 }
43
44 static bool operator== (WAngleRange^ pComp1, WAngleRange^ pComp2) {
45 if (System::Object::ReferenceEquals(pComp1, pComp2))
46 return true;
47
48 if (System::Object::ReferenceEquals(pComp1, nullptr) ||
49 System::Object::ReferenceEquals(pComp2, nullptr)) {
50 return false;
51 }
52 return pComp1->Start == pComp2->Start && pComp1->Stop == pComp2->Stop;
53 }
54
55 static bool operator!= (WAngleRange^ pComp1, WAngleRange^ pComp2) {
56 return !(pComp1 == pComp2);
57 }
58
59 private:
60 AngleRange* _angleRange;
61};
62
AngleRange
Helper to encapsulate the Angle range data.
Definition AngleRange.h:13
WAngleRange
A wrapper on the AngleRange data encapsulation.
Definition WAngleRange.h:7
WAngleRange::~WAngleRange
~WAngleRange()
Definition WAngleRange.h:17
WAngleRange::WAngleRange
WAngleRange(WAngleRange^ toCopy)
Definition WAngleRange.h:12
WAngleRange::WAngleRange
WAngleRange()
Definition WAngleRange.h:9
WAngleRange::Start
property int Start
Definition WAngleRange.h:21