Simulacrum  1.2
Classes | Static Public Member Functions | Static Public Attributes | List of all members
Simulacrum::SGeom Class Reference

#include <sprimitives.h>

Collaboration diagram for Simulacrum::SGeom:
Collaboration graph

Classes

struct  intersection_res
 

Static Public Member Functions

static bool isEqual (SVector::Precision, SVector::Precision, SVector::Precision epsilon=Epsilon)
 
static SVector::Precision fabs (SVector::Precision)
 
static long unsigned abs (long int)
 
static SVector::Precision sround (SVector::Precision)
 
static SVector::Precision sfloor (SVector::Precision)
 
static SVector::Precision sceil (SVector::Precision)
 
static intersection_res lineplaneintersect (const SLine &sourceline, const SPlane &targetplane)
 
static SLine planeplaneintersection (const SPlane &, const SPlane &)
 

Static Public Attributes

static const SVector::Precision Epsilon =0.0001
 

Member Function Documentation

◆ abs()

long unsigned int SGeom::abs ( long int  tabsval)
static

◆ fabs()

SVector::Precision SGeom::fabs ( SVector::Precision  source)
static

◆ isEqual()

bool SGeom::isEqual ( SVector::Precision  val1,
SVector::Precision  val2,
SVector::Precision  epsilon = Epsilon 
)
static

◆ lineplaneintersect()

SGeom::intersection_res SGeom::lineplaneintersect ( const SLine sourceline,
const SPlane targetplane 
)
static

◆ planeplaneintersection()

SLine SGeom::planeplaneintersection ( const SPlane plane1,
const SPlane plane2 
)
static

◆ sceil()

SVector::Precision SGeom::sceil ( SVector::Precision  toceil)
static

◆ sfloor()

SVector::Precision SGeom::sfloor ( SVector::Precision  tofloor)
static

◆ sround()

SVector::Precision SGeom::sround ( SVector::Precision  toround)
static

Member Data Documentation

◆ Epsilon

const SVector::Precision SGeom::Epsilon =0.0001
static

The documentation for this class was generated from the following files:
Simulacrum Project