• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AlchemyBow.Navigation
    • AlchemyNavigationSystem
    • BasicAgent
    • FacesHolder
    • NavigationAct
    • NavigationFaceWrapper
    • NavigationInfo
    • PathfindingRequest
    • PathfindingRequest.PathType
    • PathfindingRequest.Status
  • AlchemyBow.Navigation.BackgroundProcessing
    • BackgroundProcessor
    • BackgroundProcessor.States
    • BuildingProcess
    • IBackgroundCommand
    • PathfindingProcess
    • RegisterFaceCommand
    • UnregisterFaceCommand
  • AlchemyBow.Navigation.Collections
    • OrderedSet<T>
    • OrderedSetNode<T>
    • OrderedSetRangeComparer<T>
  • AlchemyBow.Navigation.DebugUnits
    • AlchemyNavigationSystemDebugUnit
    • CompositeSurfaceDrawer
    • GizmosSurfaceDrawer
    • ISurfaceDrawer
    • MinimalGizmosSurfaceDrawer
  • AlchemyBow.Navigation.HighLevel
    • MeshBasedBake
    • MeshBasedBakeGroup
    • MeshBasedBakeSettings
    • WorldMesh
  • AlchemyBow.Navigation.PropertyAttributes
    • AreaIndexAttribute
    • AreaMaskAttribute
    • LayerIndexAttribute
  • AlchemyBow.Navigation.Settings
    • AlchemyNavigationSettingsPreset
    • NavigationAreaSettings
    • NavigationLayerSettings
    • NavigationSettings
  • AlchemyBow.Navigation.Simple
    • SimpleAgent
  • AlchemyBow.Navigation.Simple.Elements
    • AvoidanceGroup
    • AvoidanceModifier
    • CachedFace
    • ISteeredBehaviour
    • MovementModifier
    • PathProgress
  • AlchemyBow.Navigation.Surfaces
    • Edge
    • Face
    • FacesByMagnitudeRangeComparer
    • NavigationSurface
    • SurfaceRaycastHit
    • Usage<TUser>
    • UsageTrackingObject<TUser>
    • Vertex
    • VertexByPositionComparer
  • AlchemyBow.Navigation.Surfaces.SafeAccess
    • IImmutableFace
    • SurfaceImmutableRaycastHit
  • AlchemyBow.Navigation.Utilities
    • ChannelUnwrapper
    • FaceAStar
    • FaceStarUnit
    • Funnel
    • ICommand

Class Edge

Describes two connected vertices.

Inheritance
System.Object
UsageTrackingObject<Face>
Edge
Inherited Members
UsageTrackingObject<Face>.UsersCount
UsageTrackingObject<Face>.HasNoUsers
UsageTrackingObject<Face>.GetUser(Int32)
UsageTrackingObject<Face>.AddUser(Face)
UsageTrackingObject<Face>.RemoveUser(Face)
UsageTrackingObject<Face>.HasUser(Face)
Namespace: AlchemyBow.Navigation.Surfaces
Assembly: AlchemyBow.Navigation.dll
Syntax
public class Edge : UsageTrackingObject<Face>

Constructors

| Improve this Doc View Source

Edge(Vertex, Vertex)

Creates an instance of the Edge class.

Declaration
public Edge(Vertex a, Vertex b)
Parameters
Type Name Description
Vertex a

The vertex A.

Vertex b

The vertex B.

Fields

| Improve this Doc View Source

a

The vertex A.

Declaration
public readonly Vertex a
Field Value
Type Description
Vertex

The vertex A.

| Improve this Doc View Source

b

The vertex B.

Declaration
public readonly Vertex b
Field Value
Type Description
Vertex

The vertex B.

Methods

| Improve this Doc View Source

GetOtherUser(Face)

Gets the other user of the edge.

Declaration
public Face GetOtherUser(Face user)
Parameters
Type Name Description
Face user

The first user.

Returns
Type Description
Face

The other user or null.

Remarks

In most cases, the edge should have a maximum of two users.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX