CSGeometry 1.1.0

Create geometry objects from boolean operations.

Install-Package CSGeometry -Version 1.1.0
dotnet add package CSGeometry --version 1.1.0
<PackageReference Include="CSGeometry" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CSGeometry --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Constructive solid geometry (CSG)

NuGet Badge

Create geometry objects from boolean operations.

Support serialization with Mallos.Serialization

Sample

var shape1 = new Cube(position: new Vector3(0, 0, 0), size: new Vector3(0.50f, 0.50f, 0.50f));
var shape2 = new Cube(position: new Vector3(1, 1, 0), size: new Vector3(0.50f, 0.50f, 0.50f));
var result = shape1.Intersect(shape2);

// result.Vertices => Vertex[];
// result.Indices => ushort[];
// then you have the vertices and indices in result.

Contributing

Contribution directions go here.

License

The project is available as open source under the terms of the MIT License.

Constructive solid geometry (CSG)

NuGet Badge

Create geometry objects from boolean operations.

Support serialization with Mallos.Serialization

Sample

var shape1 = new Cube(position: new Vector3(0, 0, 0), size: new Vector3(0.50f, 0.50f, 0.50f));
var shape2 = new Cube(position: new Vector3(1, 1, 0), size: new Vector3(0.50f, 0.50f, 0.50f));
var result = shape1.Intersect(shape2);

// result.Vertices => Vertex[];
// result.Indices => ushort[];
// then you have the vertices and indices in result.

Contributing

Contribution directions go here.

License

The project is available as open source under the terms of the MIT License.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 151 2/24/2019
1.0.0 105 2/17/2019