IIteration

References
public interface IIteration

Properties

ParentSystem

#
Gets the system which originated this stepwise solution.
ConstraintSystem ParentSystem { get; }

Resolver

#
Gets the resolver to be used for expressions.
Resolver Resolver { get; }

Token

#
Cancellation token for this iteration.
CancellationToken Token { get; }

Methods

FindNode

#
Find a node within the system.
IndexedNode FindNode(
nodeId,
Id of node.
sourceGoal = null
Goal which requests this information. If not null and the node cannot be found, a failure message will be appended to this iteration
)
Indexed node or null if node cannot be found.

FindScalar

#
Find a scalar within the system.
IndexedScalar FindScalar(
scalarId,
Id of scalar.
sourceGoal = null
Goal which requests this information. If not null and the scalar cannot be found, a failure message will be appended to this iteration
)
Indexed scalar or null if scalar cannot be found.

SetFailure

#
Set a failure message.
void SetFailure(
message
)

SetNode

#
Set a new target location for a node.
void SetNode(
index,
location
)

SetScalar

#
Set a new target value for a scalar.
void SetScalar(
index,
value
)

TrySetEdge

#
Try and set the geometry of an edge.
bool TrySetEdge(
Edge
edge,
arc
)

TrySetEdge

#
Try and set the geometry of an edge.
bool TrySetEdge(
Edge
edge,
circle
)

TrySetEdge

#
Try and set the geometry of an edge.
bool TrySetEdge(
Edge
edge,
line
)