Struct GroupInterest
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
SetstringThe group set's name.
ReachMdoubleThe 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
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
Set
The group set's name.
public string Set { get; init; }
Property Value
Methods
Deconstruct(out string, out double)
public void Deconstruct(out string Set, out double ReachM)
Parameters
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(GroupInterest)
public bool Equals(GroupInterest other)
Parameters
otherGroupInterest
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(GroupInterest, GroupInterest)
public static bool operator ==(GroupInterest left, GroupInterest right)
Parameters
leftGroupInterestrightGroupInterest
Returns
operator !=(GroupInterest, GroupInterest)
public static bool operator !=(GroupInterest left, GroupInterest right)
Parameters
leftGroupInterestrightGroupInterest