# Order of P1 and P2 with Area2D

**URL:** <https://forum.commonvisionblox.com/t/order-of-p1-and-p2-with-area2d/1240>\
**Category:** Programming Questions\
**Created:** [October 17, 2020, 1:55pm UTC](https://forum.commonvisionblox.com/t/order-of-p1-and-p2-with-area2d/1240 "2020-10-17T13:55:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarSch](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/marsch/32/23_2.png) [@MarSch](https://forum.commonvisionblox.com/u/MarSch)\
**Post date:** [October 17, 2020, 1:55pm UTC](https://forum.commonvisionblox.com/t/order-of-p1-and-p2-with-area2d/1240/1 "2020-10-17T13:55:04Z")

</div>

Good afternoon,

there is a long standing issue in CVB which is appearently not fixed yet. It relates to the order of P1 and P2 when specifying a rectangular area/AOI.

If there is no way changing it in the API, please consider doing it in the documentation. Otherwise even more developers have to wrap their heads around this when hitting it.

[https://help.commonvisionblox.com/NextGen/14.0/cvbnet/d0/d13/struct\_stemmer\_1\_1\_cvb\_1\_1\_area2\_d.html#adba3c6bb979ee4c2622f9f272c7e8185](https://help.commonvisionblox.com/NextGen/14.0/cvbnet/d0/d13/struct_stemmer_1_1_cvb_1_1_area2_d.html#adba3c6bb979ee4c2622f9f272c7e8185)

Thank you!

---

<div class="post-metadata">

**Author:** ![parsd](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/parsd/32/7_2.png) [@parsd](https://forum.commonvisionblox.com/u/parsd)\
**Post date:** [October 20, 2020, 9:11am UTC](https://forum.commonvisionblox.com/t/order-of-p1-and-p2-with-area2d/1240/2 "2020-10-20T09:11:19Z")

</div>

Hi @MarSch,

For the object oriented wrappers the order as defined in the docs you linked. If there is a tool where this is not correctly mapped, please mention the tool name where you see the error.

Without that info it is hard to fix. Thanks 🙂
