215 pointIsOnBoundary =
true;
217 pointIsOnBoundary =
true;
219 pointIsOnBoundary =
true;
221 pointIsOnBoundary =
true;
223 pointIsOnBoundary =
true;
225 pointIsOnBoundary =
true;
231 const double &
x2p2,
const double &
x3p2)
250 const double &
x2b,
const double &
x3b)
279 const double &
x1b,
const double &
x2b,
const double &
x3b)
421 if (!
point || (this->
p1 != point && this->
p2 != point))
475 const double &
x1b,
const double &
x2b,
const double &
x3b)
486 eps = (
cube->getLengthX1()) * (
cube->getLengthX2()) * (
cube->getLengthX3());
495 const double &
rx1,
const double &
rx2,
const double &
rx3)
499 double origin[3] = { x1, x2, x3 };
510 for (
int i = 0;
i < 3;
i++) {
511 if (origin[
i] <
minB[
i]) {
515 }
else if (origin[
i] >
maxB[
i]) {
530 for (
int i = 0;
i < 3;
i++) {
539 for (
int i = 1;
i < 3;
i++)
547 for (
int i = 0;
i < 3;
i++) {
This Class provides basic 3D box objects.
void setCenterCoordinates(const UbTupleDouble3 &) override
This Class provides basic 3D line objects.
This Interface provides basic 3D geometry objects methods.
This Class provides basic 3D point objects.
double getX3Coordinate() const
GbPoint3D * clone() override
void setCoordinates(const double &x1, const double &x2, const double &x3)
double getX1Coordinate() const
double getX2Coordinate() const
This Class provides basic 3D triangle objects.
void setName(std::string name)
virtual void removeObserver(UbObserver *observer)
virtual void addObserver(UbObserver *observer)
virtual void notifyObserversObjectChanged()
std::shared_ptr< T > SPtr
double getIntersectionRaytraceFactor(const double &x1, const double &x2, const double &x3, const double &rx1, const double &rx2, const double &rx3) override
void objectChanged(UbObservable *changedObject) override
double getX1Minimum() override
double getX3Centroid() override
void translate(const double &x1, const double &x2, const double &x3) override
double getX2Minimum() override
void scale(const double &sx1, const double &sx2, const double &sx3) override
void objectWillBeDeleted(UbObservable *objectForDeletion) override
void setPoint2(GbPoint3D *point2)
double getX2Centroid() override
bool isCellInsideOrCuttingGbObject3D(const double &x1a, const double &x2a, const double &x3a, const double &x1b, const double &x2b, const double &x3b) override
double getCellVolumeInsideGbObject3D(const double &x1a, const double &x2a, const double &x3a, const double &x1b, const double &x2b, const double &x3b) override
double getX2Maximum() override
bool isPointInGbObject3D(const double &x1p, const double &x2p, const double &x3p, bool &pointIsOnBoundary) override
double getX3Minimum() override
void addSurfaceTriangleSet(std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt3 > &triangles) override
bool isCellInsideGbObject3D(const double &x1a, const double &x2a, const double &x3a, const double &x1b, const double &x2b, const double &x3b) override
GbPoint3D * calculateInterSectionPoint3D(GbPoint3D &point1, GbPoint3D &point2)
double getX1Centroid() override
void setPoint1(GbPoint3D *point1)
void translate(const double &x1, const double &x2, const double &x3) override
bool isCellCuttingGbObject3D(const double &x1a, const double &x2a, const double &x3a, const double &x1b, const double &x2b, const double &x3b) override
GbLine3D * createClippedLine3D(GbPoint3D &point1, GbPoint3D &point2) override
std::string toString() override
std::string toString() override
double getX3Maximum() override
double getX1Maximum() override
void setPoints(GbPoint3D *point1, GbPoint3D *point2)
std::vector< GbTriangle3D * > getSurfaceTriangleSet() override
UbTuple< T1 > makeUbTuple(T1 const &a1)
GbCuboid3D * clipRectangle3D(GbPoint3D &p1, GbPoint3D &p2, double x11, double x12, double x13, double x21, double x22, double x23)
GbLine3D * createClipLine3D(GbPoint3D &p1, GbPoint3D &p2, double x11, double x12, double x13, double x21, double x22, double x23)
bool lessEqual(const T1 &value, const T2 &reference)
bool equal(const T1 &value, const T2 &reference)
bool greater(const T1 &value, const T2 &reference)
bool less(const T1 &value, const T2 &reference)