AngularGoal

Goal
public sealed class AngularGoal : Goal
Angle constraint between three nodes.

Constructors

AngularGoal

#
public AngularGoal(Edge edge1, Edge edge2, double angle)
edge1 (Edge)
edge2 (Edge)
angle (double)

Fields

_edges

protected readonly Edge[] _edges
inherited fromGoal

Angle

#
public readonly double Angle

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>)