MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
GeometryIntersection< nDim_ >::CsgVertex Class Reference
Collaboration diagram for GeometryIntersection< nDim_ >::CsgVertex:
[legend]

Public Member Functions

 CsgVertex (CsgVector _pos, MInt _vertexId, MInt _setIndex)
 
CsgVertex clone () const
 
CsgVertex interpolate (CsgVertex *other, MFloat t) const
 

Public Attributes

CsgVector pos
 
MInt vertexId
 
MInt setIndex
 

Detailed Description

template<MInt nDim_>
class GeometryIntersection< nDim_ >::CsgVertex

Definition at line 484 of file geometryintersection.h.

Constructor & Destructor Documentation

◆ CsgVertex()

template<MInt nDim_>
GeometryIntersection< nDim_ >::CsgVertex::CsgVertex ( CsgVector  _pos,
MInt  _vertexId,
MInt  _setIndex 
)
inline

Definition at line 489 of file geometryintersection.h.

Member Function Documentation

◆ clone()

template<MInt nDim_>
CsgVertex GeometryIntersection< nDim_ >::CsgVertex::clone ( ) const
inline

Definition at line 493 of file geometryintersection.h.

493 {
494 CsgVertex tmp(this->pos.clone(), vertexId, setIndex);
495 return tmp;
496 }
CsgVertex(CsgVector _pos, MInt _vertexId, MInt _setIndex)

◆ interpolate()

template<MInt nDim_>
CsgVertex GeometryIntersection< nDim_ >::CsgVertex::interpolate ( CsgVertex other,
MFloat  t 
) const
inline

Definition at line 497 of file geometryintersection.h.

497{ return CsgVertex(this->pos.lerp(other->pos, t), -1, -1); }
CsgVector lerp(const CsgVector &a, const MFloat t) const

Member Data Documentation

◆ pos

template<MInt nDim_>
CsgVector GeometryIntersection< nDim_ >::CsgVertex::pos

Definition at line 486 of file geometryintersection.h.

◆ setIndex

template<MInt nDim_>
MInt GeometryIntersection< nDim_ >::CsgVertex::setIndex

Definition at line 488 of file geometryintersection.h.

◆ vertexId

template<MInt nDim_>
MInt GeometryIntersection< nDim_ >::CsgVertex::vertexId

Definition at line 487 of file geometryintersection.h.


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