Class ParaxialBox

Inheritance Relationships

Base Type

Class Documentation

class ParaxialBox : public Surface

A box with perpendicular surfaces aligned to the x,y,z-axes.

Public Functions

ParaxialBox(const Vector3d &_corner, const Vector3d &_size)
double distance(const Vector3d &point) const

Returns the distance of a point to the surface. Negative on the one side, positive on the other. For closed surfaces it is negative on the inside.

Vector3d normal(const Vector3d &point) const

Returns the normal to the surface at a point. Negative on the one side, positive on the other. For closed surfaces it is negative on the inside.

std::string getDescription() const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount