AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
Edge.cs
Go to the documentation of this file.
1
// Copyright(c) Microsoft Corporation.All rights reserved.
2
// Licensed under the MIT License. See LICENSE in the project root for license information.
3
4
using
UnityEngine
;
5
6
namespace
HoloToolkit
.Unity.Boundary
7
{
11
public
struct
Edge
12
{
13
public
float
Ax
;
14
public
float
Ay
;
15
public
float
Bx
;
16
public
float
By
;
17
18
public
Edge
(
float
ax,
float
ay,
float
bx,
float
by)
19
{
20
Ax = ax;
21
Ay = ay;
22
Bx = bx;
23
By = by;
24
}
25
26
public
Edge
(Vector2 pointA, Vector2 pointB)
27
{
28
Ax = pointA.x;
29
Bx = pointB.x;
30
Ay = pointA.y;
31
By = pointB.y;
32
}
33
}
34
}
HoloToolkit.Unity.Boundary.Edge.Edge
Edge(Vector2 pointA, Vector2 pointB)
Definition:
Edge.cs:26
HoloToolkit.Unity.Boundary.Edge.Ay
float Ay
Definition:
Edge.cs:14
HoloToolkit.Unity.Boundary.Edge.By
float By
Definition:
Edge.cs:16
HoloToolkit.Unity.Boundary.Edge.Bx
float Bx
Definition:
Edge.cs:15
HoloToolkit.Unity.Boundary.Edge.Edge
Edge(float ax, float ay, float bx, float by)
Definition:
Edge.cs:18
HoloToolkit.Unity.Boundary.Edge.Ax
float Ax
Definition:
Edge.cs:13
HoloToolkit.Unity.Boundary.Edge
Helper struct to hold an edge.
Definition:
Edge.cs:11
HoloToolkit
UnityEngine
Assets
HoloToolkit
Boundary
Scripts
Edge.cs
Generated by
1.8.12