Provided by: libcoin60-doc_3.1.3-2_all

**NAME**

SbCylinderPlaneProjector - TheSbCylinderPlaneProjectorclass projects 2D points to a half-cylinder and a plane. This projector uses a plane along with the half-cylinder ofSbCylinderSectionProjectorfor projections. If the 2D point mapping 'misses' the cylinder section, the 3D point will be projected onto the plane.

**SYNOPSIS**

#include <Inventor/projectors/SbCylinderPlaneProjector.h> InheritsSbCylinderSectionProjector.PublicMemberFunctionsSbCylinderPlaneProjector(const float edgetol=0.9f, const SbBool orienttoeye=TRUE)SbCylinderPlaneProjector(constSbCylinder&cyl, 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**

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

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

SbCylinderPlaneProjector::SbCylinderPlaneProjector(constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Defaultconstructor.SeeSbCylinderSectionProjector::SbCylinderSectionProjector().SbCylinderPlaneProjector::SbCylinderPlaneProjector(constSbCylinder&cyl,constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Constructorwithexplicitspecificationofprojectioncylinder.

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

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

**Author**

Generated automatically by Doxygen for Coin from the source code.