List of classes in the CoreModeler::Geometry namespace.

Entity NameDescription
BoxA 3D rectangular box shape.
IDrawableInterface for any elements that can be rendered to the display.
Point3DGeneric template representing a 3D coordinate point.
ShapeBase abstract class for geometric shapes.

Directory & Entity Index

Entity NameSummary / Description
Box class

Extends: CoreModeler::Geometry::Shape, CoreModeler::Geometry::IDrawable

A 3D rectangular box shape.

Methods

Box

CoreModeler::Geometry::Box::Box(double width, double height, double depth)

Constructs a box with specified dimensions.

width

Width of the box.

height

Height of the box.

depth

Depth of the box.

Width of the box.

Height of the box.

Depth of the box.

ParameterTypeDescription
widthdoubleWidth of the box.
heightdoubleHeight of the box.
depthdoubleDepth of the box.

getVolume

double CoreModeler::Geometry::Box::getVolume() const override

IDrawable class

Interface for any elements that can be rendered to the display.

Represents a pure virtual C++ interface.

Methods

~IDrawable

virtual CoreModeler::Geometry::IDrawable::~IDrawable()=default

draw

virtual void CoreModeler::Geometry::IDrawable::draw()=0

Renders the drawable element to the screen.

draw

virtual int CoreModeler::Geometry::IDrawable::draw(RenderMode mode)=0

Renders the drawable element using a specific render mode.

Overloaded method.

mode

The rendering mode to use.

Missing

tag and incomplete documentation.

Overloaded method.

The rendering mode to use.

Missing

tag and incomplete documentation.

Point3D< typename T > class

Generic template representing a 3D coordinate point.

T

The numeric type (e.g., int, float, double).

The numeric type (e.g., int, float, double).

Instance Variables

  • T CoreModeler::Geometry::Point3D< T >::x
  • T CoreModeler::Geometry::Point3D< T >::y
  • T CoreModeler::Geometry::Point3D< T >::z

Methods

Point3D

CoreModeler::Geometry::Point3D< T >::Point3D()

Point3D

CoreModeler::Geometry::Point3D< T >::Point3D(T valX, T valY, T valZ)

ParameterTypeDescription
valXT
valYT
valZT

translate

void CoreModeler::Geometry::Point3D< T >::translate(T dx, T dy, T dz)

Shape class

Base abstract class for geometric shapes.

Methods

~Shape

virtual CoreModeler::Geometry::Shape::~Shape()=default

getVolume

virtual double CoreModeler::Geometry::Shape::getVolume() const =0

Retrieves the volume of the shape.

The shape’s volume as a double.

The shape’s volume as a double.