|
|
box_list.h File ReferenceCollection of methods to work on Tlist of boxes. More... #include "list.h" #include "box.h" #include "boolean.h" Go to the source code of this file.
Detailed DescriptionThis is a collection of functions working on box lists. A box list is a special list including boxes. This specialization is handy since it facilitates the manipulation of sets of boxes. Definition in file box_list.h. Function Documentation
Defines an empty list of boxes.
Definition at line 24 of file box_list.c. References InitList(). Referenced by CopyListOfBoxes(), Heap2List(), ListOfBoxesCluster(), LoadListOfBoxes(), ReverseListOfBoxes(), and SampleCuikSystemInBox().
Here is the call graph for this function:
Here is the caller graph for this function:
Copies one list into another. The boxes in l_src are duplicated before inserting them into l_dst.
Definition at line 29 of file box_list.c. References AddLastElement(), Advance(), CopyBox(), EndOfList(), First(), GetCurrent(), InitIterator(), and InitListOfBoxes().
Here is the call graph for this function:
Computes the sum of the volume of the boxes stored in the list.
Definition at line 50 of file box_list.c. References Advance(), EndOfList(), First(), GetBoxVolume(), GetCurrent(), and InitIterator().
Here is the call graph for this function:
Computes the maximum diagonal for all the boxes stored in the list.
Definition at line 70 of file box_list.c. References Advance(), EndOfList(), First(), GetBoxDiagonal(), GetCurrent(), and InitIterator().
Here is the call graph for this function:
Computes the maximum size for all the boxes stored in the list.
Definition at line 91 of file box_list.c. References Advance(), EndOfList(), First(), GetBoxSize(), GetCurrent(), and InitIterator().
Here is the call graph for this function:
Computes a box that is an axis-aligned bounding box for all boxes in a list.
Definition at line 113 of file box_list.c. References Advance(), BoxUnion(), CopyBox(), EndOfList(), First(), GetCurrent(), InitBox(), InitIterator(), and ListSize().
Here is the call graph for this function:
Computes a list of boxes, with one box bounding each one of the connected components defined by the boxes in the input list.
Definition at line 138 of file box_list.c. References AddLastElement(), Advance(), BoxesIntersection(), BoxUnion(), CopyBox(), DeleteBox(), EndOfList(), FALSE, First(), GetCurrent(), InitIterator(), InitListOfBoxes(), ListSize(), NEW, and TRUE.
Here is the call graph for this function:
Adds l_new at the end of l. We assume l to be properly initialized.
Definition at line 230 of file box_list.c. References AddLastElement(), Advance(), CopyBox(), EndOfList(), First(), GetCurrent(), and InitIterator().
Here is the call graph for this function:
Reverses the order of a list. This is a constructor and, thus, l is initialized inside the function.
Definition at line 245 of file box_list.c. References AddFirstElement(), Advance(), CopyBox(), EndOfList(), First(), GetCurrent(), InitIterator(), and InitListOfBoxes().
Here is the call graph for this function:
Prints a list of boxes to a stream that can be stdout.
Definition at line 265 of file box_list.c. References Advance(), EndOfList(), First(), GetCurrent(), InitIterator(), and PrintBoxSubset().
Here is the call graph for this function:
This is a constructor from a file.
Definition at line 286 of file box_list.c. References AddLastElement(), FALSE, InitList(), NEW, ReadBox(), and TRUE. Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
Saves a list of boxes to a stream in binary format.
Definition at line 315 of file box_list.c. References Advance(), EndOfList(), First(), GetCurrent(), InitIterator(), ListSize(), and SaveBox(). Referenced by SaveCSState().
Here is the call graph for this function:
Here is the caller graph for this function:
This is a constructor from a file in binary format.
Definition at line 333 of file box_list.c. References AddLastElement(), InitListOfBoxes(), and LoadBox(). Referenced by LoadCSState().
Here is the call graph for this function:
Here is the caller graph for this function:
Destructor
Definition at line 352 of file box_list.c. References DeleteBox(), DeleteCurrent(), EndOfList(), First(), GetCurrent(), and InitIterator(). Referenced by main(), MPI_SolveCuikSystem(), SampleCuikSystemInBox(), and SolveCuikSystem().
Here is the call graph for this function:
Here is the caller graph for this function:
|