Variables
2_objective_functions Namespace Reference

Variables

 complete_length = f2c.OBJ_CompleteTurnPathObj_Dubins(robot);
 
 direct_dist = f2c.OBJ_DirectDistPathObj();
 
 field
 
 field_cov = f2c.OBJ_FieldCoverage();
 
 line1 = f2c.LineString(f2c.VectorPoint([f2c.Point(0.0, 0.0), f2c.Point(0.0, 1.0)]));
 
 line2 = f2c.LineString(f2c.VectorPoint([f2c.Point(1.0, 1.0), f2c.Point(1.0, 0.0)]));
 
 n_swaths = f2c.OBJ_NSwath();
 
 overlaps = f2c.OBJ_Overlaps();
 
 path = f2c.Path()
 
 path_length = f2c.OBJ_PathLength();
 
 rem_area = f2c.OBJ_RemArea();
 
 robot = f2c.Robot(2.0, 3.0);
 
 swath1
 
 swath2
 
 swath3
 
 swath_length = f2c.OBJ_SwathLength();
 
 swaths1 = f2c.Swaths();
 
 swaths3 = f2c.Swaths();
 
 swaths_path = f2c.Swaths();
 
 total_field
 
float width = 2.0;
 

Variable Documentation

◆ complete_length

2_objective_functions.complete_length = f2c.OBJ_CompleteTurnPathObj_Dubins(robot);

Definition at line 78 of file 2_objective_functions.py.

◆ direct_dist

2_objective_functions.direct_dist = f2c.OBJ_DirectDistPathObj();

Definition at line 83 of file 2_objective_functions.py.

◆ field

2_objective_functions.field
Initial value:
1 = f2c.Cells(f2c.Cell(f2c.LinearRing(f2c.VectorPoint([
2  f2c.Point(0,0), f2c.Point(4,0), f2c.Point(4,4),
3  f2c.Point(0,4), f2c.Point(0,0)]))));

Definition at line 16 of file 2_objective_functions.py.

◆ field_cov

2_objective_functions.field_cov = f2c.OBJ_FieldCoverage();

Definition at line 42 of file 2_objective_functions.py.

◆ line1

2_objective_functions.line1 = f2c.LineString(f2c.VectorPoint([f2c.Point(0.0, 0.0), f2c.Point(0.0, 1.0)]));

Definition at line 69 of file 2_objective_functions.py.

◆ line2

2_objective_functions.line2 = f2c.LineString(f2c.VectorPoint([f2c.Point(1.0, 1.0), f2c.Point(1.0, 0.0)]));

Definition at line 71 of file 2_objective_functions.py.

◆ n_swaths

2_objective_functions.n_swaths = f2c.OBJ_NSwath();

Definition at line 50 of file 2_objective_functions.py.

◆ overlaps

2_objective_functions.overlaps = f2c.OBJ_Overlaps();

Definition at line 56 of file 2_objective_functions.py.

◆ path

2_objective_functions.path = f2c.Path()

Definition at line 88 of file 2_objective_functions.py.

◆ path_length

2_objective_functions.path_length = f2c.OBJ_PathLength();

Definition at line 92 of file 2_objective_functions.py.

◆ rem_area

2_objective_functions.rem_area = f2c.OBJ_RemArea();

Definition at line 20 of file 2_objective_functions.py.

◆ robot

2_objective_functions.robot = f2c.Robot(2.0, 3.0);

Definition at line 76 of file 2_objective_functions.py.

◆ swath1

2_objective_functions.swath1
Initial value:
1 = f2c.Swath(f2c.LineString(f2c.VectorPoint([
2  f2c.Point(0.0, 1.0), f2c.Point(4.0, 1.0)])), width);

Definition at line 30 of file 2_objective_functions.py.

◆ swath2

2_objective_functions.swath2
Initial value:
1 = f2c.Swath(f2c.LineString(f2c.VectorPoint([
2  f2c.Point(0.0, 3.0), f2c.Point(4.0, 3.0)])), width);

Definition at line 32 of file 2_objective_functions.py.

◆ swath3

2_objective_functions.swath3
Initial value:
1 = f2c.Swath(f2c.LineString(f2c.VectorPoint([
2  f2c.Point(0.0, 2.0), f2c.Point(4.0, 2.0)])), width);

Definition at line 34 of file 2_objective_functions.py.

◆ swath_length

2_objective_functions.swath_length = f2c.OBJ_SwathLength();

Definition at line 62 of file 2_objective_functions.py.

◆ swaths1

2_objective_functions.swaths1 = f2c.Swaths();

Definition at line 37 of file 2_objective_functions.py.

◆ swaths3

2_objective_functions.swaths3 = f2c.Swaths();

Definition at line 39 of file 2_objective_functions.py.

◆ swaths_path

2_objective_functions.swaths_path = f2c.Swaths();

Definition at line 73 of file 2_objective_functions.py.

◆ total_field

2_objective_functions.total_field
Initial value:
1 = f2c.Cells(f2c.Cell(f2c.LinearRing(f2c.VectorPoint([
2  f2c.Point(-2,-2), f2c.Point(6,-2), f2c.Point(6,6),
3  f2c.Point(-2,6), f2c.Point(-2,-2)]))));

Definition at line 13 of file 2_objective_functions.py.

◆ width

float 2_objective_functions.width = 2.0;

Definition at line 29 of file 2_objective_functions.py.



fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31