NMagneticFieldForce Class Members
In This Topic
The following tables list the members exposed by NMagneticFieldForce.
Public Constructors
Public Fields
Public Properties
| Name | Description |
| AnglePower | Gets or sets the angle power, which affects the tendency edges to be more strongly aligned with the field |
| DistancePower | Gets or sets the distance power, which affects the tendency longer edges to exert larger torsion |
| FieldDirection | Gets or sets the direction of the magnetic field |
| FieldOrigin | Gets or sets the magnetic field origin. Only used when the magnetic field direction is set to Polar or Concentric. |
| MagnetizationType | Gets or sets the default magnetization type of force directed edges. By default set to Bidirectional. |
| TorsionCoefficient | Gets or sets the torsion coefficient, which affects the power with which the field rotates the edges. |
Top
Public Methods
| Name | Description |
| AccumulateForce | Accumulates the forces acting on vertex1 and vertex2, due to the torsion, which the edge exterts in the magnetic field |
| OnLayingOutGraph | Overridden. Called before the force is used in the specified graph |
Top
See Also