-
Notifications
You must be signed in to change notification settings - Fork 46
The Geometry Shapes
Justin edited this page Feb 24, 2022
·
4 revisions
This page refers to the objects found in the CGALDotNetGeometry.Shapes namespace.
CGALDotNet provides a collection of shapes that implement some basic operations and are used to pass data to CGAL. Each shape consists of a float and double precision version.
//create a new box
var box = new Box2d(-1, 1);
//do something if box contains point.
if(box.Contains(point))
{
}
The CGALDotNetGeomtry project is separate from CGALDotNet and can be used as a stand alone project under the MIT license.