Skip to content

FEAreaCoverage

Public Functions

Name
FEAreaCoverage()
void SetSelection1(vector< int > & s)
void SetSelection2(vector< int > & s)
vector< double > Apply(std::shared_ptr< FEMesh > mesh1, std::shared_ptr< FEMesh > mesh2)
void AllowBackIntersection(bool b)
bool AllowBackIntersection() const
void SetAngleThreshold(double w)
double GetAngleThreshold() const
void SetBackSearchRadius(double R)
double GetBackSearchRadius() const

Protected Functions

Name
void UpdateSurface(FEAreaCoverage::Surface & s)
bool intersect(const vec3d & r, const vec3d & N, FEAreaCoverage::Surface & surf, Intersection & q)
bool faceIntersect(FEAreaCoverage::Surface & surf, const Ray & ray, int nface, Intersection & q)

Protected Attributes

Name
Surface m_surf1
Surface m_surf2
bool m_ballowBackIntersections
double m_angleThreshold
double m_backSearchRadius

Public Functions Documentation

function FEAreaCoverage

FEAreaCoverage()

function SetSelection1

inline void SetSelection1(
    vector< int > & s
)

function SetSelection2

inline void SetSelection2(
    vector< int > & s
)

function Apply

vector< double > Apply(
    std::shared_ptr< FEMesh > mesh1,
    std::shared_ptr< FEMesh > mesh2
)

function AllowBackIntersection

void AllowBackIntersection(
    bool b
)

function AllowBackIntersection

bool AllowBackIntersection() const

function SetAngleThreshold

void SetAngleThreshold(
    double w
)

function GetAngleThreshold

double GetAngleThreshold() const

function SetBackSearchRadius

void SetBackSearchRadius(
    double R
)

function GetBackSearchRadius

double GetBackSearchRadius() const

Protected Functions Documentation

function UpdateSurface

void UpdateSurface(
    FEAreaCoverage::Surface & s
)

function intersect

bool intersect(
    const vec3d & r,
    const vec3d & N,
    FEAreaCoverage::Surface & surf,
    Intersection & q
)

function faceIntersect

bool faceIntersect(
    FEAreaCoverage::Surface & surf,
    const Ray & ray,
    int nface,
    Intersection & q
)

Protected Attributes Documentation

variable m_surf1

Surface m_surf1;

variable m_surf2

Surface m_surf2;

variable m_ballowBackIntersections

bool m_ballowBackIntersections;

variable m_angleThreshold

double m_angleThreshold;

variable m_backSearchRadius

double m_backSearchRadius;

Updated on 2022-07-23 at 17:50:04 -0600