Skip to content

Commit 49ec652

Browse files
committed
removed checks on coplanarity in Point::computeBarycentric
1 parent 8c08079 commit 49ec652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

math/src/Point.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ namespace gmds{
281281
}
282282
if(!AP.areCoplanar(p0,p1,p2))
283283
{
284-
throw GMDSException("Coplanarity is mandatory to compute barycentric coordinates of a point into a 3D triangle");
284+
//throw GMDSException("Coplanarity is mandatory to compute barycentric coordinates of a point into a 3D triangle");
285285
}
286286

287287
Vector3d v1= p1-p0;
@@ -338,7 +338,7 @@ namespace gmds{
338338
}
339339
if(!AP.areCoplanar(p0,p1,p2))
340340
{
341-
throw GMDSException("Coplanarity is mandatory to compute barycentric coordinates of a point into a 3D triangle");
341+
//throw GMDSException("Coplanarity is mandatory to compute barycentric coordinates of a point into a 3D triangle");
342342
}
343343

344344
Vector3d v1= p1-p0;

0 commit comments

Comments
 (0)