DOTS Geometry
 
Loading...
Searching...
No Matches
IntersectionMeshUtil Class Reference

A utility for creating meshes from intersections between shapes. More...

Static Public Member Functions

static Mesh PlaneCuboidIntersectionMesh (Plane plane, Bounds bounds)
 Creates a mesh that is the intersection between a plane and a box / cuboid. This mesh takes on the form of a convex polygon in 3D Space. If the plane does not intersect the box, null is returned.
 

Detailed Description

A utility for creating meshes from intersections between shapes.

Member Function Documentation

◆ PlaneCuboidIntersectionMesh()

static Mesh PlaneCuboidIntersectionMesh ( Plane plane,
Bounds bounds )
static

Creates a mesh that is the intersection between a plane and a box / cuboid. This mesh takes on the form of a convex polygon in 3D Space. If the plane does not intersect the box, null is returned.

Parameters
plane
bounds