CMS 3D CMS Logo

Public Member Functions | Private Attributes

TangentPlane Class Reference

#include <TangentPlane.h>

Inheritance diagram for TangentPlane:
Plane Surface GloballyPositioned< float > BasicReferenceCounted

List of all members.

Public Member Functions

const SurfaceparentSurface ()
 access to original surface
 TangentPlane (const PositionType &pos, const RotationType &rot, const Surface *parent)

Private Attributes

ConstReferenceCountingPointer
< Surface
theParent

Detailed Description

Plane tangent to a more general surface (e.g. cylinder). To be constructed by the "parent" surface.

Definition at line 10 of file TangentPlane.h.


Constructor & Destructor Documentation

TangentPlane::TangentPlane ( const PositionType pos,
const RotationType rot,
const Surface parent 
) [inline]

Definition at line 12 of file TangentPlane.h.

                                       :
    Surface(pos,rot), Plane(pos,rot),
    theParent(parent) {}

Member Function Documentation

const Surface& TangentPlane::parentSurface ( ) [inline]

access to original surface

Definition at line 19 of file TangentPlane.h.

References theParent.

{return *theParent;}

Member Data Documentation

Definition at line 22 of file TangentPlane.h.

Referenced by parentSurface().