AR + GPS Location  3.0.0
All Classes Namespaces Functions Variables Properties Events Pages
Curve.cs
1 using UnityEngine;
2 
3 
4 namespace ARLocation
5 {
9  public struct CurvePointData
10  {
11  public Vector3 point;
12  public Vector3 tangent;
13  }
14 
15 
16  public abstract class Curve
17  {
18  public abstract Vector3 GetPoint(float u);
19 
20  public abstract CurvePointData GetPointAndTangent(float u);
21 
22  public abstract Vector3[] Sample(int n);
23 
24  public abstract float EstimateLength(int n = 100);
25 
26  public abstract float GetParameterForLength(float s);
27 
28  public abstract Vector3 GetPointAtLength(float s);
29 
30  public abstract CurvePointData GetPointAndTangentAtLength(float s);
31  }
32 }
ARLocation.CurvePointData
A struct holding a pair of point/tangent values.
Definition: Curve.cs:10
ARLocation.Curve
Definition: Curve.cs:17
ARLocation
Definition: ARLocationConfigInspector.cs:7