/dports/graphics/Coin/coin-Coin-4.0.0/src/projectors/ |
H A D | SbSphereSheetProjector.cpp | 171 if (atsphere) { projline.setValue(spherehit, spherehit + -(this->planeDir)); } in project() 241 this->planeDir = -this->viewVol.getProjectionDirection(); in setupPlane() 242 this->worldToWorking.multDirMatrix(this->planeDir, this->planeDir); in setupPlane() 243 if (this->planeDir.normalize() == 0.0f) { in setupPlane() 248 this->planeDir.setValue(0.0f, 0.0f, 1.0f); in setupPlane() 252 this->planeDir.setValue(0.0f, 0.0f, 1.0f); in setupPlane() 254 if (!this->intersectFront) this->planeDir = -this->planeDir; in setupPlane() 258 this->tolPlane = SbPlane(this->planeDir, this->planePoint); in setupPlane()
|
H A D | SbCylinderSheetProjector.cpp | 209 this->planeDir = somePt - ptOnAxis; in setupPlane() 211 if (this->planeDir.normalize() < FLT_EPSILON) { in setupPlane() 216 this->planeDir = this->viewVol.getViewUp() + in setupPlane() 218 this->worldToWorking.multDirMatrix(this->planeDir, this->planeDir); in setupPlane() 219 (void) this->planeDir.normalize(); in setupPlane() 222 if (!this->intersectFront) this->planeDir = -this->planeDir; in setupPlane() 224 this->tolPlane = SbPlane(this->planeDir, axis.getPosition()); in setupPlane()
|
H A D | SbSphereSectionProjector.cpp | 222 this->planeDir = -this->viewVol.getProjectionDirection(); in setupTolerance() 223 this->worldToWorking.multDirMatrix(this->planeDir, this->planeDir); in setupTolerance() 224 this->planeDir.normalize(); in setupTolerance() 227 this->planeDir.setValue(0.0f, 0.0f, 1.0f); in setupTolerance() 229 if (!this->intersectFront) this->planeDir = -this->planeDir; in setupTolerance() 236 this->planeDir * this->planeDist; in setupTolerance() 237 this->tolPlane = SbPlane(this->planeDir, this->planePoint); in setupTolerance()
|
H A D | SbCylinderSectionProjector.cpp | 231 this->planeDir = somept - ptonaxis; in setupTolerance() 232 if (this->planeDir.normalize() < FLT_EPSILON) { in setupTolerance() 237 this->planeDir = this->viewVol.getViewUp() + in setupTolerance() 239 this->worldToWorking.multDirMatrix(this->planeDir, this->planeDir); in setupTolerance() 240 (void) this->planeDir.normalize(); in setupTolerance() 244 this->planeDir = -this->planeDir; in setupTolerance() 250 SbVec3f linept = axis.getPosition()+this->planeDir * this->planeDist; in setupTolerance() 252 this->tolPlane = SbPlane(this->planeDir, linept); in setupTolerance()
|
H A D | SbSpherePlaneProjector.cpp | 125 SbVec3f axis = vec.cross(this->planeDir); in getRotation()
|
H A D | SbCylinderPlaneProjector.cpp | 130 SbVec3f dir = this->cylinder.getAxis().getDirection().cross(this->planeDir); in getRotation()
|
/dports/devel/vcglib/vcglib-2020.09/apps/sample/trimesh_edge/ |
H A D | trimesh_edge.cpp | 176 …Point3f planeDir = Point3f(-0.5f+float(rand())/RAND_MAX,-0.5f+float(rand())/RAND_MAX,-0.5f+float(r… in GetRandPlane() local 177 planeDir.Normalize(); in GetRandPlane() 179 plane.Init(planeCenter+planeDir*0.3f*bb.Diag()*float(rand())/RAND_MAX,planeDir); in GetRandPlane()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgManipulator/ |
H A D | Projector.cpp | 226 osg::Vec3d planeDir = perpDir ^ axisDir; in computeIntersectionPlane() local 227 planeDir.normalize(); in computeIntersectionPlane() 229 planeDir = -planeDir; in computeIntersectionPlane() 231 osg::Vec3d planePoint = planeDir * cylinder.getRadius() + axisDir; in computeIntersectionPlane() 232 plane.set(planeDir, planePoint); in computeIntersectionPlane()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgManipulator/ |
H A D | Projector.cpp | 226 osg::Vec3d planeDir = perpDir ^ axisDir; in computeIntersectionPlane() local 227 planeDir.normalize(); in computeIntersectionPlane() 229 planeDir = -planeDir; in computeIntersectionPlane() 231 osg::Vec3d planePoint = planeDir * cylinder.getRadius() + axisDir; in computeIntersectionPlane() 232 plane.set(planeDir, planePoint); in computeIntersectionPlane()
|
/dports/science/PETSc/petsc-3.14.1/src/snes/tutorials/ |
H A D | ex13.c | 102 static PetscErrorCode CreateSpectralPlanes(DM dm, PetscInt numPlanes, const PetscInt planeDir[], co… in CreateSpectralPlanes() argument 128 if (PetscAbsReal(planeCoord[p] - PetscRealPart(coords[off+planeDir[p]])) < PETSC_SMALL) { in CreateSpectralPlanes() 170 PetscInt planeDir[2] = {0, 1}; in CreateMesh() local 173 ierr = CreateSpectralPlanes(*dm, 2, planeDir, planeCoord, user);CHKERRQ(ierr); in CreateMesh() 250 static PetscErrorCode ComputeSpectral(DM dm, Vec u, PetscInt numPlanes, const PetscInt planeDir[], … in ComputeSpectral() argument 295 ray[i] = PetscRealPart(coords[off+((planeDir[p]+1)%2)]); in ComputeSpectral() 382 PetscInt planeDir[2] = {0, 1}; in main() local 385 ierr = ComputeSpectral(dm, u, 2, planeDir, planeCoord, &user);CHKERRQ(ierr); in main()
|
/dports/graphics/Coin/coin-Coin-4.0.0/include/Inventor/projectors/ |
H A D | SbCylinderSheetProjector.h | 57 SbVec3f planeDir; variable
|
H A D | SbSphereSheetProjector.h | 56 SbVec3f planeDir; variable
|
H A D | SbCylinderSectionProjector.h | 62 SbVec3f planeDir; variable
|
H A D | SbSphereSectionProjector.h | 66 SbVec3f planeDir; variable
|
/dports/science/PETSc/petsc-3.14.1/ |
H A D | CTAGS | 2984 …orCode ComputeSpectral(DM dm, Vec u, PetscInt numPlanes, const PetscInt planeDir[], const PetscRea… 3353 …rrorCode CreateSpectralPlanes(DM dm, PetscInt numPlanes, const PetscInt planeDir[], const PetscRea…
|