Subject: CGAL users discussion list
List archive
- From: houes <>
- To:
- Subject: Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel
- Date: Sat, 28 Apr 2018 15:31:57 -0700 (MST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:ozyyVhQkG5YC8AVBk27Mm7mNv9psv+yvbD5Q0YIujvd0So/mwa69ZByN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/m/XhMJuj6xUohyhqQFwzIHIb4+YL+Z+frrBcd8GWWZNQsRcWipcCY28dYsPCO8BMP5Yr4n6ulsBswC+DhSrCePryz9IiX/23bE60+QmDAHJwhcgEskBsHTRttr1NaMSXfqpw6nPyDXOdvVb0irz5ojPdxAuu/CMXbRofMrX00YgDBjKjlGOpoD/IzyV0eENvm6G5ORjTeKik3MrpgBvrjS12MshiofEipgIxl3K+yh12oQ4KcO+RUVme9CrCoFQuDufN4ZuQsMtXWVouCEix70AtpO3Zi4Kx448yBHEb/yIbZKE7Q7kVOaUOTt4hXRld6yjhxuq7ESty/PwWtOq3FtKoCdJiMTAu34D2hDJ6MWLVONx/kK71jaO0wDT5PtEIUcxlafDL54hw7EwlpoPsUTDGS/2hVv5jLSNe0Ur/+in8eXnYrH8qpCAMI90jxnyMr4ylcynHeQ4Lg8OUnCH9uSzzrLj+VT1T6hLjv0tjqbZrYvaJd8Aq66iAw5V154j5AylAzen1tQYh3gHI0hfdBKJlYi6c23Jdfv3BPP6j1W3mypw3NjHOKfgC9PDNCvtirDkKLZ69kNHgF43zN9f+5JTF7waCP32U0718tffC0lqYESP3+/7BYAlhcslUmWVD/rBafKAgRqz/usqZtK0SsoQsTf5JeIi4qe333A8kF4ZO6Ku2MlMMSzqLrFdO0ycJEHUrJIZC25T51gxSeXrjBuJVjsBPy/vDZJ53SkyDcedNamGRo2ph+XcjiHnWJtfbGpCBxaHFnK6Log=
Dear Adrien,
Thank you very much! Your method works well for me!
A follow up question:
If I use the definition you provide:
/typedef CGAL::Extended_cartesian< CGAL::Lazy_exact_nt<CGAL::Gmpq> > Kernel;
typedef CGAL::Nef_polyhedron_2<Kernel> Nef_polyhedron;
typedef Nef_polyhedron::Line Line;
typedef Nef_polyhedron::Point Point;/
I notice I cannot convert from Kernel::Point_2 to Nef_polyhedron::Point or
Kernel::Line_2 to Nef_polyhedron::Line. It seems the point and line type are
different. If there any way to do the cast?
In fact, I am using Epick::Point_2 and Epick::Line_2, neither of them can be
directly assigned to Nef_polyhedron::Point or Nef_polyhedron::Line, I wonder
if any type cast can do the trick.
The reason I need to do the type cast is that all my data is in stored Epick
kernel and I need to transfer them into the Nef_polyhedron Kernel type to do
polygon union/intersection.
One last question, does your method also applies to Nef_polyhedron_3?
Thank you very much!
houes
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Nef_polyhedron_2 with Epick kernel, houes, 04/28/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, Adrien Lefieux, 04/28/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, Efi Fogel, 04/28/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, houes, 04/29/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, Efi Fogel, 04/29/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, houes, 04/30/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, Efi Fogel, 04/29/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, houes, 04/29/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, houes, 04/29/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, Efi Fogel, 04/28/2018
- Re: [cgal-discuss] Nef_polyhedron_2 with Epick kernel, Adrien Lefieux, 04/28/2018
Archive powered by MHonArc 2.6.18.