TangentGoal

Goal
public sealed class TangentGoal : Goal
Perpendicularity constraint between three nodes.

Constructors

TangentGoal

#
public TangentGoal(Edge edge1, Edge edge2)
edge1 (Edge)
edge2 (Edge)

Fields

_edges

protected readonly Edge[] _edges
inherited fromGoal

Properties

EdgeCount

public int EdgeCount { get; }
Gets the number of edges this goal is associated with.
inherited fromGoal

Icon

public IIcon Icon { get; }
Gets the icon of this goal.
inherited fromGoal

Id

public Guid Id { get; }
Gets the id of this goal.
inherited fromGoal

Nomen

public Nomen Nomen { get; }
Gets the description of this goal.
inherited fromGoal

Methods

Apply

#
public override bool Apply(IIteration iteration)
iteration (IIteration)
Goal.Apply

DependsOnId

public bool DependsOnId(Guid nodeId)
Test whether this goal depends on a specific node or scalar id.
inherited fromGoal
nodeId (Guid)

Edge

public Edge Edge(int index)
Gets the referenced edge at the given index.
inherited fromGoal
index (int)

RemoveReferents

public virtual Goal RemoveReferents(HashSet<Guid> map)
Return a modified goal in response to the removal of node or edge referents. By default this method will return null if one of the referenced edges occurs in the map.
inherited fromGoal
map (HashSet<Guid>)