Struct OctantId
Implements
System.Collections.Generic.IEnumerable<
System.ValueTuple<
System.Int32,
OctantOrientation>>
System.Collections.IEnumerable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Fusee.PointCloud.Common.dll
Syntax
public struct OctantId : IEnumerable<(int, OctantOrientation)>, IEnumerable
Constructors
OctantId(OctantOrientation[])
Declaration
public OctantId(params OctantOrientation[] ooList)
Parameters
OctantId(Int64)
Declaration
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
OctantId(String)
Declaration
public OctantId(string potreeName)
Parameters
Type |
Name |
Description |
System.String |
potreeName |
|
Properties
Item[Int32]
Declaration
public OctantOrientation this[int level] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
level |
|
Property Value
Level
Declaration
public int Level { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Valid
Declaration
public readonly bool Valid { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
GetEnumerator()
Declaration
public IEnumerator<(int, OctantOrientation)> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.ValueTuple<System.Int32, OctantOrientation>> |
|
IsBack(OctantOrientation)
Declaration
public static bool IsBack(OctantOrientation oo)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsDown(OctantOrientation)
Declaration
public static bool IsDown(OctantOrientation oo)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsFront(OctantOrientation)
Declaration
public static bool IsFront(OctantOrientation oo)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsLeft(OctantOrientation)
Declaration
public static bool IsLeft(OctantOrientation oo)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsRight(OctantOrientation)
Declaration
public static bool IsRight(OctantOrientation oo)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsUp(OctantOrientation)
Declaration
public static bool IsUp(OctantOrientation oo)
Parameters
Returns
Type |
Description |
System.Boolean |
|
OctantIdToPotreeName(OctantId)
Declaration
public static string OctantIdToPotreeName(OctantId octId)
Parameters
Returns
Type |
Description |
System.String |
|
PotreeNameToOctantId(Char)
Declaration
public static OctantOrientation PotreeNameToOctantId(char potreeLevelName)
Parameters
Type |
Name |
Description |
System.Char |
potreeLevelName |
|
Returns
PotreeNameToOctantOrientations(String)
Declaration
public static OctantOrientation[] PotreeNameToOctantOrientations(string potreeName)
Parameters
Type |
Name |
Description |
System.String |
potreeName |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Implicit(OctantId to Int64)
Declaration
public static implicit operator long (OctantId oid)
Parameters
Returns
Type |
Description |
System.Int64 |
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable