/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="radius"></param> /// <param name="parallel"></param> /// <param name="weight"></param> public SphereCollide(IEnumerable <int> indices, double radius, bool parallel, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Radius = radius; Parallel = parallel; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="origin"></param> /// <param name="normal"></param> /// <param name="weight"></param> public AbovePlane(IEnumerable <int> indices, Vec3d origin, Vec3d normal, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Origin = origin; Normal = normal; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="start"></param> /// <param name="direction"></param> /// <param name="weight"></param> public OnLine(IEnumerable <int> indices, Vec3d start, Vec3d direction, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Start = start; Direction = direction; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="origin"></param> /// <param name="normal"></param> /// <param name="weight"></param> public OnPlane(IEnumerable <int> indices, Vec3d origin, Vec3d normal, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); Origin = origin; Normal = normal; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="field"></param> /// <param name="threshold"></param> /// <param name="weight"></param> public OnThreshold(IEnumerable <int> indices, GridScalarField3d field, double threshold, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Field = field; Threshold = threshold; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="target"></param> /// <param name="closestPoint"></param> /// <param name="parallel"></param> /// <param name="weight"></param> public OnTarget(IEnumerable <int> indices, T target, Func <T, Vec3d, Vec3d> closestPoint, bool parallel, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); Target = target; Parallel = parallel; _closestPoint = closestPoint; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="interval"></param> /// <param name="weight"></param> public InsideInterval(IEnumerable <int> indices, Interval3d interval, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Interval = interval; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="interval"></param> /// <param name="weight"></param> public InsideInterval(IEnumerable <int> indices, Interval3d interval, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); Interval = interval; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="weight"></param> public LineCollide(IEnumerable <int> indices, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="direction"></param> /// <param name="weight"></param> public FalseWeight(IEnumerable <int> indices, Vec3d direction, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); Direction = direction; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="weight"></param> public LaplacianSmooth(IEnumerable <int> indices, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="weight"></param> public EqualizeLengths(IEnumerable <int> indices, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="field"></param> /// <param name="weight"></param> public ForceField(IEnumerable <int> indices, IField3d <Vec3d> field, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Field = field; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="vector"></param> /// <param name="weight"></param> public Weight(IEnumerable <int> indices, Vec3d vector, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); Vector = vector; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="point"></param> /// <param name="weight"></param> public OnPoint(IEnumerable <int> indices, Vec3d point, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); Position = point; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="point"></param> /// <param name="weight"></param> public OnPoint(IEnumerable <int> indices, Vec3d point, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Point = point; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="weight"></param> public EqualizeLengths(IEnumerable <int> indices, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="field"></param> /// <param name="weight"></param> public ForceField(IEnumerable <int> indices, IField3d <Vec3d> field, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); Field = field; }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="weight"></param> public Colinear(IEnumerable <int> indices, double weight = 1.0) : base(weight) { Handles.AddRange(indices.Select(i => new H(i))); }
/// <summary> /// /// </summary> /// <param name="indices"></param> /// <param name="force"></param> /// <param name="weight"></param> public Weight(IEnumerable <int> indices, Vec3d force, double weight = 1.0, int capacity = DefaultCapacity) : base(weight, capacity) { Handles.AddRange(indices.Select(i => new H(i))); Force = force; }