KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
Kratos::Plane Class Reference

#include <plane.h>

Collaboration diagram for Kratos::Plane:

Public Member Functions

 Plane ()
 
 ~Plane ()
 
 Plane (const array_1d< double, 3 > &normal, double &constant)
 
 Plane (const array_1d< double, 3 > &normal, const array_1d< double, 3 > &p)
 
 Plane (const array_1d< double, 3 > &p0, const array_1d< double, 3 > &p1, const array_1d< double, 3 > &p2)
 
void AssignPointsAndComputeParameters (array_1d< double, 3 > &p0, array_1d< double, 3 > &p1, array_1d< double, 3 > &p2)
 
double DistanceTo (const array_1d< double, 3 > &p)
 Calcula la distancia del punto al plano. More...
 
double DistPoint3Triangle3 (array_1d< double, 3 > &rPoint, array_1d< double, 3 > &p0, array_1d< double, 3 > &p1, array_1d< double, 3 > &p2)
 computa la distancia de un punto a un triangulo 3D More...
 
int WhichSide (const array_1d< double, 3 > &p)
 

Public Attributes

array_1d< double, 3 > mTriangleBary
 
array_1d< double, 3 > mClosestPoint
 
array_1d< double, 3 > mNormal
 
double mConstant
 

Constructor & Destructor Documentation

◆ Plane() [1/4]

Kratos::Plane::Plane ( )
inline

◆ ~Plane()

Kratos::Plane::~Plane ( )
inline

◆ Plane() [2/4]

Kratos::Plane::Plane ( const array_1d< double, 3 > &  normal,
double constant 
)
inline

◆ Plane() [3/4]

Kratos::Plane::Plane ( const array_1d< double, 3 > &  normal,
const array_1d< double, 3 > &  p 
)
inline

◆ Plane() [4/4]

Kratos::Plane::Plane ( const array_1d< double, 3 > &  p0,
const array_1d< double, 3 > &  p1,
const array_1d< double, 3 > &  p2 
)
inline

Member Function Documentation

◆ AssignPointsAndComputeParameters()

void Kratos::Plane::AssignPointsAndComputeParameters ( array_1d< double, 3 > &  p0,
array_1d< double, 3 > &  p1,
array_1d< double, 3 > &  p2 
)
inline

◆ DistanceTo()

double Kratos::Plane::DistanceTo ( const array_1d< double, 3 > &  p)
inline

Calcula la distancia del punto al plano.

◆ DistPoint3Triangle3()

double Kratos::Plane::DistPoint3Triangle3 ( array_1d< double, 3 > &  rPoint,
array_1d< double, 3 > &  p0,
array_1d< double, 3 > &  p1,
array_1d< double, 3 > &  p2 
)
inline

computa la distancia de un punto a un triangulo 3D

◆ WhichSide()

int Kratos::Plane::WhichSide ( const array_1d< double, 3 > &  p)
inline

Member Data Documentation

◆ mClosestPoint

array_1d<double, 3> Kratos::Plane::mClosestPoint

◆ mConstant

double Kratos::Plane::mConstant

◆ mNormal

array_1d<double, 3> Kratos::Plane::mNormal

◆ mTriangleBary

array_1d<double, 3> Kratos::Plane::mTriangleBary

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