Table of Contents

Struct GroupInterest

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

A profile observer's interest in a group set: the set, and for a region set the reach its extents are met at.

public readonly struct GroupInterest : IEquatable<GroupInterest>
Implements
Inherited Members

Constructors

GroupInterest(string, double)

A profile observer's interest in a group set: the set, and for a region set the reach its extents are met at.

public GroupInterest(string Set, double ReachM)

Parameters

Set string

The group set's name.

ReachM double

The reach, metres: a region is met when the observer's anchor is within it of the region's extent. NaN for an explicit or a shared set, which Groups(string) names with none.

Properties

HasReach

Whether the interest names a reach: a region set's interest does, an explicit or a shared one's does not.

public bool HasReach { get; }

Property Value

bool

ReachM

The reach, metres: a region is met when the observer's anchor is within it of the region's extent. NaN for an explicit or a shared set, which Groups(string) names with none.

public double ReachM { get; init; }

Property Value

double

Set

The group set's name.

public string Set { get; init; }

Property Value

string

Methods

Deconstruct(out string, out double)

public void Deconstruct(out string Set, out double ReachM)

Parameters

Set string
ReachM double

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(GroupInterest)

public bool Equals(GroupInterest other)

Parameters

other GroupInterest

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GroupInterest, GroupInterest)

public static bool operator ==(GroupInterest left, GroupInterest right)

Parameters

left GroupInterest
right GroupInterest

Returns

bool

operator !=(GroupInterest, GroupInterest)

public static bool operator !=(GroupInterest left, GroupInterest right)

Parameters

left GroupInterest
right GroupInterest

Returns

bool