/// <summary> /// Constructs a FieldManipulator instance that allows the cursor tracked by cursorTracker to interact with /// fields defined on polyhedron. /// </summary> /// <param name="polyhedron"></param> /// <param name="cursorTracker"></param> /// <param name="options"></param> public FieldManipulator(IPolyhedron polyhedron, CursorTracker cursorTracker, IFieldManipulatorOptions options) { _polyhedron = polyhedron; _cursorTracker = cursorTracker; _settings = new FieldManipulatorSettings(options); _options = options; }
/// <summary> /// Initialize the manipulator's width & intensity with the provided defaults. /// </summary> /// <param name="options"></param> public FieldManipulatorSettings(IFieldManipulatorOptions options) { _options = options; AdjustmentSize = 0.1; AdjustmentRadius = 3; }