mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 19:28:37 +02:00
Clarify documentation.
This commit is contained in:
@@ -297,10 +297,10 @@ public:
|
||||
* @brief Get the interactions between the stored objects
|
||||
*
|
||||
* Two objects interact if the boxes of the objects enlarged by the given value overlap.
|
||||
* The enlargement is specified in units of width and height, i.e. half of the enlargement
|
||||
* is applied to one side before the overlap check.
|
||||
*
|
||||
* An enlargement of 1 means that boxes have to touch only in order to get an interaction.
|
||||
* An enlargement of 1 means that boxes have to touch in order to get an interaction.
|
||||
* An enlargement of 0 means that boxes have to overlap in order to get an interaction.
|
||||
* To capture interactions between object precisely spaced d, use d+1 for the enlargement.
|
||||
*
|
||||
* The box scanner will report all interactions to the receiver object. See box_scanner_receiver
|
||||
* for details about the methods that this object must provide.
|
||||
|
||||
@@ -114,7 +114,8 @@ public:
|
||||
|
||||
/**
|
||||
* @brief Gets the interaction distance
|
||||
* A distance of means the shapes must overlap in order to interact.
|
||||
* A distance of zero means the shapes must overlap in order to interact.
|
||||
* A distance of 1 means the shapes need to touch in order to interact.
|
||||
*/
|
||||
virtual db::Coord dist () const { return 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user