OGS
|
#include <Point3d.h>
Public Member Functions | |
Point3d () | |
Point3d (std::array< double, 3 > x) | |
virtual | ~Point3d ()=default |
Point3d (Point3d const &)=default | |
Point3d & | operator= (Point3d const &)=default |
const double & | operator[] (std::size_t idx) const |
const access operator The access to the point coordinates is like the access to a field. Code example: | |
double & | operator[] (std::size_t idx) |
access operator (see book Effektiv C++ programmieren - subsection 1.3.2 ). | |
const double * | data () const |
double * | data () |
Eigen::Vector3d const & | asEigenVector3d () const |
Eigen::Vector3d & | asEigenVector3d () |
Private Attributes | |
Eigen::Vector3d | x_ |
MathLib::Point3d::Point3d | ( | ) |
default constructor with zero coordinates
Definition at line 15 of file Point3d.cpp.
|
explicit |
constructor - constructs a Point3d object
x | std::array containing the coordinates of the point |
Definition at line 17 of file Point3d.cpp.
|
virtualdefault |
virtual destructor
|
default |
|
inline |
|
inline |
Definition at line 64 of file Point3d.h.
References x_.
Referenced by ProcessLib::HeatTransportBHE::HeatTransportBHELocalAssemblerBHE< ShapeFunction, BHEType >::HeatTransportBHELocalAssemblerBHE(), GeoLib::MinimalBoundingSphere::MinimalBoundingSphere(), GeoLib::MinimalBoundingSphere::MinimalBoundingSphere(), GeoLib::MinimalBoundingSphere::MinimalBoundingSphere(), ProcessLib::NormalTractionBoundaryCondition::NormalTractionBoundaryConditionLocalAssembler< ShapeFunctionDisplacement, GlobalDim >::NormalTractionBoundaryConditionLocalAssembler(), ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::WellboreSimulatorFEM(), LayeredVolume::addLayerBoundaries(), MathLib::barycentricPointInTriangle(), MathLib::calcProjPntToLineAndDists(), MathLib::calcTetrahedronVolume(), MathLib::calcTriangleArea(), MeshLib::calculateNormalizedSurfaceNormal(), MathLib::gaussPointInTriangle(), GeoLib::generateEquidistantPoints(), MathLib::getAngle(), MeshLib::getCenterOfGravity(), GeoLib::Polyline::getDistanceAlongPolyline(), MeshToolsLib::ProjectPointOnMesh::getElevation(), getExistingNodeFromOctTree(), MeshLib::FaceRule::getFirstSurfaceVector(), MeshLib::FaceRule::getSecondSurfaceVector(), ProcessLib::SmallDeformationNonlocal::SmallDeformationNonlocalLocalAssembler< ShapeFunction, DisplacementDim >::getSingleIntegrationPointCoordinates(), ProcessLib::SurfaceFluxLocalAssembler< ShapeFunction, GlobalDim >::getSurfaceNormal(), ProcessLib::LIE::SmallDeformation::SmallDeformationProcess< DisplacementDim >::initializeConcreteProcess(), MathLib::isCoplanar(), GeoLib::lineSegmentIntersect(), MeshGeoToolsLib::mapPointOnSurfaceElement(), MeshToolsLib::moveMeshNodes(), MathLib::orientation3d(), MathLib::sqrDist(), MeshLib::CellRule::testElementNodeOrder(), anonymous_namespace{AddFaultToVoxelGrid.cpp}::testTriangleIntersectingAABB(), and GeoLib::triangleLineIntersection().
|
inline |
|
inline |
returns an array containing the coordinates of the point
Definition at line 60 of file Point3d.h.
References x_.
Referenced by MeshLib::TemplateElement< ELEMENT_RULE >::getNodes(), ExactPredicates::getOrientation2d(), ExactPredicates::getOrientation2dFast(), ProcessLib::LIE::HydroMechanics::HydroMechanicsProcess< GlobalDim >::initializeConcreteProcess(), MathLib::lessEq(), MathLib::operator<(), VtkPolylinesSource::RequestData(), and ProcessLib::LIE::setFractureProperty().
|
inline |
|
inline |
|
private |
Definition at line 68 of file Point3d.h.
Referenced by asEigenVector3d(), asEigenVector3d(), data(), data(), and operator[]().