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.
Classes | List of all members
Kratos::BrepTrimmingUtilities Class Reference

#include <brep_trimming_utilities.h>

Collaboration diagram for Kratos::BrepTrimmingUtilities:

Classes

struct  Diagonal
 
struct  DPState
 

Type Definitions

typedef std::size_t IndexType
 
typedef std::size_t SizeType
 
typedef IntegrationPoint< 3 > IntegrationPointType
 
typedef std::vector< IntegrationPointTypeIntegrationPointsArrayType
 
typedef array_1d< double, 3 > CoordinatesArrayType
 
typedef std::vector< std::pair< double, CoordinatesArrayType > > TessellationType
 
typedef signed long long cInt
 
static void CreateBrepSurfaceTrimmingIntegrationPoints (IntegrationPointsArrayType &rIntegrationPoints, const DenseVector< DenseVector< typename BrepCurveOnSurface< PointerVector< Node >, PointerVector< Point >>::Pointer >> &rOuterLoops, const DenseVector< DenseVector< typename BrepCurveOnSurface< PointerVector< Node >, PointerVector< Point >>::Pointer >> &rInnerLoops, const std::vector< double > &rSpansU, const std::vector< double > &rSpansV, IntegrationInfo &rIntegrationInfo)
 
static void Triangulate_OPT (const Clipper2Lib::Path64 &polygon, std::vector< Matrix > &triangles, const double factor)
 
static bool InCone (array_1d< double, 2 > &p1, array_1d< double, 2 > &p2, array_1d< double, 2 > &p3, array_1d< double, 2 > &p)
 
static bool IsConvex (const array_1d< double, 2 > &p1, const array_1d< double, 2 > &p2, const array_1d< double, 2 > &p3)
 
static double Distance (array_1d< double, 2 > point_1, array_1d< double, 2 > point_2)
 
static double GetAreaOfTriangle (const Matrix &triangle)
 
static bool Intersects (array_1d< double, 2 > &p11, array_1d< double, 2 > &p12, array_1d< double, 2 > &p21, array_1d< double, 2 > &p22)
 
static Clipper2Lib::Point64 ToIntPoint (const double x, const double y, const double factor)
 
static array_1d< double, 2 > IntPointToDoublePoint (const Clipper2Lib::Point64 &int_point, const double factor)
 

Member Typedef Documentation

◆ cInt

typedef signed long long Kratos::BrepTrimmingUtilities::cInt

◆ CoordinatesArrayType

◆ IndexType

◆ IntegrationPointsArrayType

◆ IntegrationPointType

◆ SizeType

◆ TessellationType

Member Function Documentation

◆ CreateBrepSurfaceTrimmingIntegrationPoints()

void Kratos::BrepTrimmingUtilities::CreateBrepSurfaceTrimmingIntegrationPoints ( IntegrationPointsArrayType rIntegrationPoints,
const DenseVector< DenseVector< typename BrepCurveOnSurface< PointerVector< Node >, PointerVector< Point >>::Pointer >> &  rOuterLoops,
const DenseVector< DenseVector< typename BrepCurveOnSurface< PointerVector< Node >, PointerVector< Point >>::Pointer >> &  rInnerLoops,
const std::vector< double > &  rSpansU,
const std::vector< double > &  rSpansV,
IntegrationInfo rIntegrationInfo 
)
static

◆ Distance()

static double Kratos::BrepTrimmingUtilities::Distance ( array_1d< double, 2 >  point_1,
array_1d< double, 2 >  point_2 
)
inlinestatic

◆ GetAreaOfTriangle()

static double Kratos::BrepTrimmingUtilities::GetAreaOfTriangle ( const Matrix triangle)
inlinestatic

◆ InCone()

static bool Kratos::BrepTrimmingUtilities::InCone ( array_1d< double, 2 > &  p1,
array_1d< double, 2 > &  p2,
array_1d< double, 2 > &  p3,
array_1d< double, 2 > &  p 
)
inlinestatic

◆ Intersects()

static bool Kratos::BrepTrimmingUtilities::Intersects ( array_1d< double, 2 > &  p11,
array_1d< double, 2 > &  p12,
array_1d< double, 2 > &  p21,
array_1d< double, 2 > &  p22 
)
inlinestatic

◆ IntPointToDoublePoint()

static array_1d<double, 2> Kratos::BrepTrimmingUtilities::IntPointToDoublePoint ( const Clipper2Lib::Point64 &  int_point,
const double  factor 
)
inlinestatic

◆ IsConvex()

static bool Kratos::BrepTrimmingUtilities::IsConvex ( const array_1d< double, 2 > &  p1,
const array_1d< double, 2 > &  p2,
const array_1d< double, 2 > &  p3 
)
inlinestatic

◆ ToIntPoint()

static Clipper2Lib::Point64 Kratos::BrepTrimmingUtilities::ToIntPoint ( const double  x,
const double  y,
const double  factor 
)
inlinestatic

◆ Triangulate_OPT()

static void Kratos::BrepTrimmingUtilities::Triangulate_OPT ( const Clipper2Lib::Path64 &  polygon,
std::vector< Matrix > &  triangles,
const double  factor 
)
inlinestatic

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