Class OneWayFSAAlgorithm<TObject>
One way Force-Scan Algorithm (FSA).
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GraphShape.Algorithms.OverlapRemoval
Assembly: GraphShape.dll
Syntax
public class OneWayFSAAlgorithm<TObject> : FSAAlgorithm<TObject, OneWayFSAParameters>, IOverlapRemovalAlgorithm<TObject, OneWayFSAParameters>, IOverlapRemovalAlgorithm<TObject>, IAlgorithm
Type Parameters
| Name | Description |
|---|---|
| TObject | Object type. |
Constructors
| Improve this Doc View SourceOneWayFSAAlgorithm(IDictionary<TObject, Rect>, OneWayFSAParameters)
Initializes a new instance of the OneWayFSAAlgorithm<TObject> class.
Declaration
public OneWayFSAAlgorithm(IDictionary<TObject, Rect> rectangles, OneWayFSAParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IDictionary<TObject, Rect> | rectangles | Overlap rectangles. |
| OneWayFSAParameters | parameters | Algorithm parameters. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
| System.ArgumentNullException |
|
Methods
| Improve this Doc View SourceHorizontalImproved()
Horizontal improvement.
Declaration
protected double HorizontalImproved()
Returns
| Type | Description |
|---|---|
| System.Double |
RemoveOverlap()
Removes overlap.
Declaration
protected override void RemoveOverlap()
Overrides
GraphShape.Algorithms.OverlapRemoval.FSAAlgorithm<TObject, GraphShape.Algorithms.OverlapRemoval.OneWayFSAParameters>.RemoveOverlap()