Fixed some documentation typos.

This commit is contained in:
Matthias Koefferlein 2017-08-05 22:20:25 +02:00
parent 5b6b800e9d
commit 287deaa574
2 changed files with 6 additions and 1 deletions

View File

@ -990,7 +990,7 @@ shapes.each(RBA::Shapes::SBoxes | RBA::Shapes::SPolygons) { |s| ... }</pre>
</p>
<p>
Shapes can be replaced by other primitives using one of the <p>replace</p> methods.
Shapes can be replaced by other primitives using one of the <k>replace</k> methods.
Please note that using "replace" inside an iterator loop may lead to unexpected
behavior of the iterator, so modifying a shape inside an iterator loop should be
avoided. Here is an example:

View File

@ -24,6 +24,11 @@
for geometrical algorithms like boolean operations and DRC checks.
</p>
<p>
Most classes of the geometry API provide a hash value so they can be used as keys in Ruby
hashes.
</p>
<h2>The Point class</h2>
<keyword name="Point"/>