import {Solid} from "../../../core/solids/Solid.js";
import {XYHalfSpaceShape} from "../shapes/xyHalfSpace/XYHalfSpaceShape.js";
/**
* @class
*
* @classdesc
* Euclidean Half space
*/
export class XYHalfSpace extends Solid {
/**
* Constructor
* @param {Isometry} isom - the location of the half space
* @param {Material} material - the material of the half space
* @param {PTMaterial} ptMaterial - material for path tracing (optional)
*/
constructor(isom, material, ptMaterial = undefined) {
const shape = new XYHalfSpaceShape(isom);
super(shape, material, ptMaterial);
}
}