PPL Logo

Mgc::Plane Class Reference

#include <MgcPlane.h>

Collaboration diagram for Mgc::Plane:

Collaboration graph
[legend]

Public Types

enum  Side { NO_SIDE, POSITIVE_SIDE, NEGATIVE_SIDE }

Public Member Functions

 Plane ()
 Plane (const Vector3 &rkNormal, Real fConstant)
 Plane (const Vector3 &rkNormal, const Vector3 &rkPoint)
 Plane (const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
Vector3Normal ()
const Vector3Normal () const
RealConstant ()
const RealConstant () const
Realoperator[] (int i) const
 operator Real * ()
Side WhichSide (const Vector3 &rkPoint) const
Real DistanceTo (const Vector3 &rkPoint) const
void Normalize ()

Protected Attributes

Vector3 m_kNormal
Real m_fConstant

Detailed Description

Definition at line 21 of file MgcPlane.h.


Member Enumeration Documentation

Enumerator:
NO_SIDE 
POSITIVE_SIDE 
NEGATIVE_SIDE 

Definition at line 58 of file MgcPlane.h.


Constructor & Destructor Documentation

Mgc::Plane::Plane (  ) 

Mgc::Plane::Plane ( const Vector3 rkNormal,
Real  fConstant 
)

Mgc::Plane::Plane ( const Vector3 rkNormal,
const Vector3 rkPoint 
)

Mgc::Plane::Plane ( const Vector3 rkPoint0,
const Vector3 rkPoint1,
const Vector3 rkPoint2 
)


Member Function Documentation

Vector3& Mgc::Plane::Normal (  ) 

const Vector3& Mgc::Plane::Normal (  )  const

Real& Mgc::Plane::Constant (  ) 

const Real& Mgc::Plane::Constant (  )  const

Real& Mgc::Plane::operator[] ( int  i  )  const

Mgc::Plane::operator Real * (  ) 

Side Mgc::Plane::WhichSide ( const Vector3 rkPoint  )  const

Real Mgc::Plane::DistanceTo ( const Vector3 rkPoint  )  const

void Mgc::Plane::Normalize (  ) 


Field Documentation

Definition at line 79 of file MgcPlane.h.

Definition at line 80 of file MgcPlane.h.


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:33:50 2020 for Charm++ by  doxygen 1.5.5