Last updated

API / geotoolkit3d / util / intersection / IIntersectablePolyhedron / IIntersectablePolyhedron

Namespace: IIntersectablePolyhedron

intersection.IIntersectablePolyhedron.IIntersectablePolyhedron

Table of contents

Type Aliases

Contents

Type Aliases

ConvexPolyhedron

Ƭ ConvexPolyhedron: Object

The cell's polyhedron (or sub-polyhedron) points, must be convex to generate a correct intersection result.
Each polyhedron point only need to be provided once, the algorithm will form the convex hull shape automatically.
A correct polyhedron shape need at least 4 points.

Type declaration

NameTypeDescription
xnumber[]The x coordinates of the polyhedron's vertices.
Vertices coordinates must be in the local coordinate space of the object inheriting this interface.
ynumber[]The y coordinates of the polyhedron's vertices.
Vertices coordinates must be in the local coordinate space of the object inheriting this interface.
znumber[]The z coordinates of the polyhedron's vertices.
Vertices coordinates must be in the local coordinate space of the object inheriting this interface.

PolyhedronCellData

Ƭ PolyhedronCellData: Object

The target data structure where the user can store the cell's polyhedron points. If a cell polyhedron is concave, it is required to split it into multiple convex sub-polyhedrons, since the intersection algorithm only supports convex shapes.

Type declaration

NameTypeDescription
convexpolyhedrons?ConvexPolyhedron[]The array of sub polyhedrons. If the cell is convex, the array can contain the whole cell as a single polyhedron. But if the cell is concave, it is required to split and provide the cell as individual convex sub-polyhedron.
value?numberThe cell polyhedron property value (if applicable).