struct geom::HalfPlane — HIRO 0.7.0 documentation

# struct geom::HalfPlane

## Overview

Definition of a 3 dimensional half-plane. More…

    #include <GeometryStructures.h>

    struct HalfPlane {
        // fields

        Line3 border;
        glm::vec3 direction { glm::vec3(0.0f, 0.0f, 1.0f) };

        // construction

        HalfPlane();
        HalfPlane(const Line3& border_line, const glm::vec3& halfplane_direction);
    };

## Detailed Documentation

Definition of a 3 dimensional half-plane.

### Fields

    Line3 border

Line representing border of the half-plane.

    glm::vec3 direction { glm::vec3(0.0f, 0.0f, 1.0f) }

Direction of a plane.