Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: [cgal-discuss] Projecting perpendicular to half_edge
- Date: Wed, 14 Oct 2009 23:06:11 +0200 (CEST)
Hello,
I am new to CGAL and still trying to figure out some of the basic operations.
My Objective is to:
Project a point at distance "d" perpendicular to the border edge, from its
midpoint (in the plane of the model boundary edge). I can't figure out how to
perform this projecting operation. This is what I have so far:
(Polyhedron model)
//iterating through each boundary edge exactly once
for(Halfedge_iterator hedge_it = model.halfedges_begin() ; hedge_it !=
model.halfedges_end(); hedge_it++)
{
// proceed only for boundary edges
if( hedge_it->is_border() == false) // boundary(hedge_it)
continue;
// "projecting_distance" perpendicular to "hedge_it" from the midpoint of
hedge_it
// in the plane of the model at hedge_it
//Vertex_3 x_proj = hedge_it.project(midpoint, projecting_distance);
Is there a function / construct that I can call which would yield me this
point
x_proj ?
I'd appreciate any help
Thanks
/Priyank
- [cgal-discuss] Projecting perpendicular to half_edge, fly2priyank, 10/14/2009
- Re: [cgal-discuss] Always a degenerate plane, why ?, fly2priyank, 10/15/2009
Archive powered by MHonArc 2.6.16.