Subject: CGAL users discussion list
List archive
- From: s_gandhi <>
- To:
- Subject: Re: [cgal-discuss] Learning CGAL, where is source code?
- Date: Mon, 1 Feb 2016 01:46:24 -0800 (PST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:vPaFth1MAE/UsuVJsmDT+DRfVm0co7zxezQtwd8ZsegSKfad9pjvdHbS+e9qxAeQG96LtLQc2qGM4/iocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC0ILvhqvoq8WbSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/JHBK71dqB9Qb1DByk9KEg04tfqvF/NV1ih/HwZB34hnRNODwjEpEX1V5H9siq8reNy0TPcMtbeQrU9WDDk5KBuHky7wBwbPiI0pTmEwvd7i7hW9Uqs
Hello Marc,
Thank you for the reply.
I am still not able to figure out "where is the definition?"
This might be very naive question. This is first time I am working with
proper templated code. So having all sorts of trouble in finding the
definitions.
Can you guide me through one function call?
In case of /collinear_are_ordered_along_line_2/,
where would be the implementation? I had a look at
/CGAL/Kernel/interface_macros.h/. It simply defines it as a predicate. Now,
in my case, I am using /Exact_predicates_inexact_constructions_kernel.h/,
which in turn includes /Simple_cartecian.h/. /Simple_cartecian.h/ has
defined the macro. But this does not seem to end.
Where is definition? I mean, at some point one has to do something like:
bool collinear(Point_2& p1, Point_2& p2, Point_2& p3)
{
return ((
(p2.x()-p1.x())*(p3.y()-p2.y())-(p3.x()-p2.x())*(p2.y()-p1.y()) )
== 0);
}
in case of collinear() function returning true or false.
If you think this is a 'common sense' question, please guide me to
respective book/tutorial/man-page.
I appreciate your time investment.
Regards,
S. Gandhi
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Learning-CGAL-where-is-source-code-tp4661547p4661550.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Learning CGAL, where is source code?, s_gandhi, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, s_gandhi, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, Marc Glisse, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, s_gandhi, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, Marc Glisse, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, Andreas Fabri, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, s_gandhi, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, Marc Glisse, 02/01/2016
- Re: [cgal-discuss] Learning CGAL, where is source code?, s_gandhi, 02/01/2016
Archive powered by MHonArc 2.6.18.