Provided by: libcoin60-doc_3.1.3-2_all

**NAME**

SbSpherePlaneProjector - TheSbSpherePlaneProjectorclass projects 2D points to a half-sphere and a plane. This projector uses a plane along with the half-sphere ofSbSphereSectionProjectorfor projections. If the 2D point mapping 'misses' the sphere section, the 3D point will be projected onto the plane.

**SYNOPSIS**

#include <Inventor/projectors/SbSpherePlaneProjector.h> InheritsSbSphereSectionProjector.PublicMemberFunctionsSbSpherePlaneProjector(const float edgetol=0.9f, const SbBool orienttoeye=TRUE)SbSpherePlaneProjector(constSbSphere&sph, const float edgetol=0.9f, const SbBool orienttoeye=TRUE) virtualSbProjector*copy(void) const virtualSbVec3fproject(constSbVec2f&point) virtualSbRotationgetRotation(constSbVec3f&point1, constSbVec3f&point2)ProtectedMemberFunctionsSbRotationgetRotation(constSbVec3f&point1, const SbBool tol1, constSbVec3f&point2, const SbBool tol2)

**Detailed** **Description**

TheSbSpherePlaneProjectorclass projects 2D points to a half-sphere and a plane. This projector uses a plane along with the half-sphere ofSbSphereSectionProjectorfor projections. If the 2D point mapping 'misses' the sphere section, the 3D point will be projected onto the plane.Seealso:SbCylinderPlaneProjector

**Constructor** **&** **Destructor** **Documentation**

SbSpherePlaneProjector::SbSpherePlaneProjector(constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Defaultconstructor.SeeSbSphereSectionProjector::SbSphereSectionProjector().SbSpherePlaneProjector::SbSpherePlaneProjector(constSbSphere&sph,constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Constructorwithexplicitspecificationofprojectionsphere.

**Member** **Function** **Documentation**

SbProjector*SbSpherePlaneProjector::copy(void)const[virtual]Constructandreturnacopyofthisprojector.Thecallerisresponsiblefordestructingthenewinstance.NotethatiftheCoinlibraryhasbeenbuiltasaDLLunderMicrosoftWindowsandyouusethismethodfromapplicationcode,youmustmakesurethatboththeCoinDLLandtheapplicationexecutableisusingthesameinstanceofaCRun-Time(CRT)library.Otherwise,youwillgetmemoryheapcorruptionupondeallocatingthereturnedinstances,eventuallyleadingtomysteriouscrashes.Reimplemented fromSbSphereSectionProjector.SbVec3fSbSpherePlaneProjector::project(constSbVec2f&point)[virtual]Projectthe2Dpointfromnormalizedviewportcoordinatestoa3Dpoint.Themappingwillbedoneinaccordancewiththetypeoftheprojector.Reimplemented fromSbSphereSectionProjector.SbRotationSbSpherePlaneProjector::getRotation(constSbVec3f&point1,constSbVec3f&point2)[virtual]Returnsrotationontheprojectionsurfacewhichre-orientspoint1topoint2.Reimplemented fromSbSphereSectionProjector.SbRotationSbSpherePlaneProjector::getRotation(constSbVec3f&point1,constSbBooltol1,constSbVec3f&point2,constSbBooltol2)[protected]Calculatesrotationfrompoint1topoint2,withtol1andtol2decidingwhetherornottousethetolerancesetting.

**Author**

Generated automatically by Doxygen for Coin from the source code.