33 UTrd(
const std::string& pName,
double pdx1,
double pdx2,
double pdy1,
double pdy2,
double pdz);
82 double pdy1,
double pdy2,
86 double pdy1,
double pdy2,
100 std::ostream&
StreamInfo(std::ostream& os)
const;
106 inline double amin(
int n,
const double*
a)
const;
107 inline double amax(
int n,
const double*
a)
const;
virtual double SafetyFromInside(const UVector3 &aPoint, bool aAccurate=false) const
void SetYHalfLength2(double val)
double GetZHalfLength() const
void SetYHalfLength1(double val)
virtual bool Normal(const UVector3 &aPoint, UVector3 &aNormal) const
double SafetyFromOutsideAccurate(const UVector3 &aPoint) const
void SetXHalfLength1(double val)
UVector3 GetPointOnSurface() const
double GetXHalfLength2() const
virtual void ComputeBBox(UBBox *, bool)
UVector3 ApproxSurfaceNormal(const UVector3 &p) const
virtual void GetParametersList(int, double *) const
void SetXHalfLength2(double val)
double SafetyFromInsideAccurate(const UVector3 &aPoint) const
void SetZHalfLength(double val)
void CheckAndSetAllParameters(double pdx1, double pdx2, double pdy1, double pdy2, double pdz)
double amax(int n, const double *a) const
static const double kInfinity
double GetYHalfLength2() const
void SetAllParameters(double pdx1, double pdx2, double pdy1, double pdy2, double pdz)
double amin(int n, const double *a) const
double GetYHalfLength1() const
EnumInside Inside(const UVector3 &aPoint) const
Return whether point inside/outside/on surface Split into radius checks.
void Extent(UVector3 &aMin, UVector3 &aMax) const
Returns the full 3D cartesian extent of the solid.
UTrd & operator=(const UTrd &rhs)
double GetXHalfLength1() const
std::string UGeometryType
UGeometryType GetEntityType() const
virtual double DistanceToOut(const UVector3 &aPoint, const UVector3 &aDirection, UVector3 &aNormalVector, bool &aConvex, double aPstep=UUtils::kInfinity) const
std::ostream & StreamInfo(std::ostream &os) const
virtual double SafetyFromOutside(const UVector3 &aPoint, bool aAccurate=false) const
virtual double DistanceToIn(const UVector3 &aPoint, const UVector3 &aDirection, double aPstep=UUtils::kInfinity) const