gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <SVector3.h>
Public Member Functions | |
SVector3 () | |
SVector3 (const SPoint3 &p1, const SPoint3 &p2) | |
SVector3 (const SPoint3 &p1) | |
SVector3 (double x, double y, double z) | |
SVector3 (double v) | |
SVector3 (const double *array) | |
SVector3 (const SVector3 &v) | |
double | x (void) const |
double | y (void) const |
double | z (void) const |
double | norm () const |
double | normSq () const |
double | normalize () |
SVector3 | unit () const |
void | negate () |
double & | operator[] (int i) |
double | operator[] (int i) const |
double & | operator() (int i) |
double | operator() (int i) const |
SVector3 & | operator+= (const SVector3 &a) |
SVector3 & | operator-= (const SVector3 &a) |
SVector3 & | operator*= (const SVector3 &a) |
SVector3 & | operator*= (const double v) |
SVector3 & | operator= (const SVector3 &a) |
SVector3 & | operator= (double v) |
operator double * () | |
void | print (const std::string &name="") const |
SPoint3 | point () const |
int | getMaxValue (double &val) const |
const double * | data () const |
double * | data () |
void | axpy (const double a, const SVector3 &y) |
operator std::array< double, 3 > () const | |
Protected Attributes | |
SPoint3 | P |
Definition at line 16 of file SVector3.h.
|
inline |
Definition at line 21 of file SVector3.h.
Definition at line 23 of file SVector3.h.
|
inline |
Definition at line 25 of file SVector3.h.
|
inline |
Definition at line 26 of file SVector3.h.
|
inline |
Definition at line 27 of file SVector3.h.
|
inline |
Definition at line 28 of file SVector3.h.
|
inline |
Definition at line 29 of file SVector3.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 116 of file SVector3.h.
|
inline |
Definition at line 54 of file SVector3.h.
|
inline |
Definition at line 33 of file SVector3.h.
Referenced by GEdge::closestPoint(), meshMetric::computeMetricEigenDir(), discreteFace::curvatures(), blyr_manager::extrude_vertices_on_edges(), getCandidateExtrudeInfo(), goldenSectionSearch(), insertVertexB(), intersection_segments(), discreteFace::intersectionWithCircle(), MEdge::length(), SBoundingBox3d::makeCube(), MElement::maxDistToStraight(), meshGEdgeProcessing(), minimizeTutteEnergyProj(), myLine::myLine(), normalize(), oneSidedHausdorffDistance(), optimalPointFrontalB(), prismNCJ(), RecombineTriangle::RecombineTriangle(), GEdge::refineProjection(), GFace::setMeshMaster(), GEdge::setMeshMaster(), and GEdge::XYZToU().
|
inline |
Definition at line 38 of file SVector3.h.
Referenced by _cos_N(), MElement::_getFaceRep(), _myGetFaceRep(), _relocate(), _relocateVertexOfPyramid(), blyr_manager::add_external_corner(), blyr_manager::add_fan(), addBoundaryLayerPoints(), addTriangle(), blyr_mvertex::average_normal(), buildMetricTangentToCurve(), buildMetricTangentToSurface(), buildOrthoBasis(), buildOrthoBasis2(), buildOrthoBasis_naive(), GFace::buildRepresentationCross(), cartesianBox< scalar >::cartesianBox(), changeCoordinates(), blyr_manager::classify_ridges(), discreteFace::closestPoint(), BoundaryLayerField::computeFor1dMesh(), meshMetric::computeMetricIsoLinInterp(), GRegion::computeSolidProperties(), crossField2d::crossField2d(), GFace::curvatureDiv(), discreteFace::curvatures(), PolyMesh::HalfEdge::d(), drawNormalVectorGlyphs(), drawTangentVectorGlyphs(), blyr_manager::extrude_vertices_on_edges(), faceIsValidQuad(), MTetrahedron::getEdgeRep(), MQuadrangle::getEdgeRep(), MTriangle::getEdgeRep(), MHexahedron::getEdgeRep(), getLineNormal(), GFace::getMetricEigenVectors(), improved_translate(), discreteFace::intersectionWithCircle(), max_edge_curvature_metric(), metric_based_on_surface_curvature(), myLine::myLine(), myPlane::myPlane(), qmTriangle::NCJ(), qmQuadrangle::NCJ(), discreteFace::normal(), MEdge::normal(), gmshSphere::normal(), gmshPolarSphere::normal(), PolyMesh::normal(), GFace::normal(), normal3(), oneSidedHausdorffDistance(), drawGEdge::operator()(), optimalPointFrontalB(), optimize1DMeshAtAcuteCorners(), backgroundMesh::propagateCrossField(), backgroundMesh::propagateCrossFieldByDistance(), signedDistancePointTriangle(), signedDistancesPointsTriangle(), SOrientedBoundingBox::SOrientedBoundingBox(), MFace::tangent(), MEdge::tangent(), and TRIANGLE_VALIDITY().
|
inline |
Definition at line 34 of file SVector3.h.
Referenced by MElement::idealJacRange(), norm(), optimize1DMeshAtAcuteCorners(), MElement::scaledJacRange(), MElement::signedInvCondNumRange(), and sqDistPointSegment().
|
inline |
Definition at line 107 of file SVector3.h.
|
inline |
Definition at line 138 of file SVector3.h.
|
inline |
Definition at line 63 of file SVector3.h.
|
inline |
Definition at line 64 of file SVector3.h.
|
inline |
Definition at line 86 of file SVector3.h.
Definition at line 79 of file SVector3.h.
Definition at line 65 of file SVector3.h.
Definition at line 72 of file SVector3.h.
Definition at line 93 of file SVector3.h.
|
inline |
Definition at line 100 of file SVector3.h.
|
inline |
Definition at line 61 of file SVector3.h.
|
inline |
Definition at line 62 of file SVector3.h.
|
inline |
Definition at line 115 of file SVector3.h.
|
inline |
Definition at line 108 of file SVector3.h.
|
inline |
Definition at line 48 of file SVector3.h.
Referenced by MFaceN::frame(), MFaceN::normal(), elasticitySolver::readInputFile(), elasticitySolver::setLagrangeMultipliers(), MEdgeN::tangent(), and MFaceN::tangent().
|
inline |
Definition at line 30 of file SVector3.h.
Referenced by _cos_N(), extrudeInfo::_fillExtrudeParams(), _relocate(), _relocateVertexOfPyramid(), blyr_manager::add_external_corner(), blyr_manager::add_fan(), blyr_manager::add_one_normal(), elasticitySolver::computeDisplacementError(), GFace::computeMeanPlane(), computePointsUsingScaledCrossFieldPlanarP2(), GRegion::computeSolidProperties(), createPoints(), crossField2d::crossField2d(), crossprod(), dot(), elasticityTerm::elementVector(), myPlane::eval(), blyr_manager::extrude_one_external(), blyr_manager::extrude_vertex_on_both_surfaces_of_a_ridge(), blyr_manager::extrude_vertices_on_edges(), faceCircumCenter(), faceQuality(), getCandidateExtrudeInfo(), MSubTriangle::getGradShapeFunctions(), MSubLine::getGradShapeFunctions(), discreteFace::intersectionWithCircle(), meshGenerator(), myLine::myLine(), myPlane::myPlane(), curveFunctorCircle::operator()(), surfaceFunctorPlane::operator()(), optimalPointFrontalB(), orientationTest(), myLine::orthogonalProjection(), PolyMesh2GFace(), extrudeInfo::print(), PolyMesh::print4debug(), DocRecord::printMedialAxis(), sameDir(), GFace::setMeshMaster(), signedDistancePointTriangle(), signedDistancesPointsTriangle(), PolyMesh::split_edge(), triangleQualityP2(), triangleValidityP2(), OctreeField::update(), Walk(), writeX3dFaces(), and GFace::XYZtoUV().
|
inline |
Definition at line 31 of file SVector3.h.
Referenced by _cos_N(), extrudeInfo::_fillExtrudeParams(), _relocate(), _relocateVertexOfPyramid(), blyr_manager::add_external_corner(), blyr_manager::add_fan(), blyr_manager::add_one_normal(), axpy(), GFace::computeMeanPlane(), computePointsUsingScaledCrossFieldPlanarP2(), GRegion::computeSolidProperties(), createPoints(), crossField2d::crossField2d(), crossprod(), dot(), elasticityTerm::elementVector(), myPlane::eval(), blyr_manager::extrude_one_external(), blyr_manager::extrude_vertex_on_both_surfaces_of_a_ridge(), blyr_manager::extrude_vertices_on_edges(), faceCircumCenter(), faceQuality(), getCandidateExtrudeInfo(), MSubTriangle::getGradShapeFunctions(), MSubLine::getGradShapeFunctions(), discreteFace::intersectionWithCircle(), meshGenerator(), myLine::myLine(), myPlane::myPlane(), curveFunctorCircle::operator()(), surfaceFunctorPlane::operator()(), optimalPointFrontalB(), orientationTest(), myLine::orthogonalProjection(), PolyMesh2GFace(), extrudeInfo::print(), PolyMesh::print4debug(), DocRecord::printMedialAxis(), sameDir(), GFace::setMeshMaster(), signedDistancePointTriangle(), signedDistancesPointsTriangle(), PolyMesh::split_edge(), triangleQualityP2(), triangleValidityP2(), unit(), OctreeField::update(), Walk(), writeX3dFaces(), and GFace::XYZtoUV().
|
inline |
Definition at line 32 of file SVector3.h.
Referenced by _cos_N(), extrudeInfo::_fillExtrudeParams(), _relocateVertexOfPyramid(), blyr_manager::add_external_corner(), blyr_manager::add_fan(), blyr_manager::add_one_normal(), GFace::computeMeanPlane(), GRegion::computeSolidProperties(), crossprod(), dot(), elasticityTerm::elementVector(), myPlane::eval(), blyr_manager::extrude_one_external(), blyr_manager::extrude_vertex_on_both_surfaces_of_a_ridge(), blyr_manager::extrude_vertices_on_edges(), getCandidateExtrudeInfo(), MSubTriangle::getGradShapeFunctions(), MSubLine::getGradShapeFunctions(), discreteFace::intersectionWithCircle(), myLine::myLine(), myPlane::myPlane(), curveFunctorCircle::operator()(), surfaceFunctorPlane::operator()(), optimalPointFrontalB(), myLine::orthogonalProjection(), PolyMesh2GFace(), extrudeInfo::print(), sameDir(), GFace::setMeshMaster(), signedDistancePointTriangle(), signedDistancesPointsTriangle(), PolyMesh::split_edge(), triangleQualityP2(), OctreeField::update(), Walk(), writeX3dFaces(), and GFace::XYZtoUV().
|
protected |
Definition at line 18 of file SVector3.h.
Referenced by axpy(), data(), getMaxValue(), negate(), normalize(), normSq(), operator double *(), operator std::array< double, 3 >(), operator()(), operator*=(), operator+=(), operator-=(), operator=(), operator[](), point(), x(), y(), and z().