OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GeometryOperations Namespace Reference

Typedefs

typedef std::list< EntityBase * > EntityList
 

Functions

 __declspec (dllexport) bool facetEntity(TopoDS_Shape &shape
 
 __declspec (dllexport) bool checkPointInTriangle(double x
 
bool facetEntity (TopoDS_Shape &shape, double deflection, std::vector< Geometry::Node > &nodes, std::list< Geometry::Triangle > &triangles, std::list< Geometry::Edge > &edges, std::string &errors)
 
bool checkPointInTriangle (double x, double y, double z, double nodeCoord1[], double nodeCoord2[], double nodeCoord3[], double tolerance)
 
bool SameSide (double p1[], double p2[], double a[], double b[])
 
void calculateCrossProduct (double vector1[3], double vector2[3], double normal[3])
 
double calculateDotProduct (double vector1[3], double vector2[3])
 
double calculateDistancePointToPlane (double p[], double v1[], double v2[], double v3[])
 
double getMaximumFaceCurvature (TopoDS_Face &aFace)
 
std::vector< std::pair< std::pair< double, double >, int > > getCurvatureRadiusHistogram (std::list< double > &faceCurvaturRadius, int nbins)
 
BoundingBox getBoundingBox (std::list< EntityGeometry * > &geometryEntities)
 

Variables

double deflection
 
double std::vector< Geometry::Node > & nodes
 
double std::vector< Geometry::Node > std::list< Geometry::Triangle > & triangles
 
double std::vector< Geometry::Node > std::list< Geometry::Triangle > std::list< Geometry::Edge > & edges
 
double std::vector< Geometry::Node > std::list< Geometry::Triangle > std::list< Geometry::Edge > std::string & errors
 
double y
 
double double z
 
double double double nodeCoord1 []
 
double double double double nodeCoord2 []
 
double double double double double nodeCoord3 []
 
double double double double double double tolerance
 
double p2 []
 
double double a []
 
double double double b []
 
double vector2 [3]
 
double double normal [3]
 
double v1 []
 
double double v2 []
 
double double double v3 []
 

Typedef Documentation

◆ EntityList

typedef std::list< EntityBase * > GeometryOperations::EntityList

Function Documentation

◆ __declspec() [1/2]

GeometryOperations::__declspec ( dllexport )

◆ __declspec() [2/2]

GeometryOperations::__declspec ( dllexport ) &

◆ calculateCrossProduct()

void GeometryOperations::calculateCrossProduct ( double vector1[3],
double vector2[3],
double normal[3] )

◆ calculateDistancePointToPlane()

double GeometryOperations::calculateDistancePointToPlane ( double p[],
double v1[],
double v2[],
double v3[] )

◆ calculateDotProduct()

double GeometryOperations::calculateDotProduct ( double vector1[3],
double vector2[3] )

◆ checkPointInTriangle()

bool GeometryOperations::checkPointInTriangle ( double x,
double y,
double z,
double nodeCoord1[],
double nodeCoord2[],
double nodeCoord3[],
double tolerance )

◆ facetEntity()

bool GeometryOperations::facetEntity ( TopoDS_Shape & shape,
double deflection,
std::vector< Geometry::Node > & nodes,
std::list< Geometry::Triangle > & triangles,
std::list< Geometry::Edge > & edges,
std::string & errors )

◆ getBoundingBox()

BoundingBox GeometryOperations::getBoundingBox ( std::list< EntityGeometry * > & geometryEntities)

◆ getCurvatureRadiusHistogram()

std::vector< std::pair< std::pair< double, double >, int > > GeometryOperations::getCurvatureRadiusHistogram ( std::list< double > & faceCurvaturRadius,
int nbins )

◆ getMaximumFaceCurvature()

double GeometryOperations::getMaximumFaceCurvature ( TopoDS_Face & aFace)

◆ SameSide()

bool GeometryOperations::SameSide ( double p1[],
double p2[],
double a[],
double b[] )

Variable Documentation

◆ a

double double GeometryOperations::a[]

◆ b

double double double GeometryOperations::b[]

◆ deflection

double GeometryOperations::deflection

◆ edges

double std::vector<Geometry::Node> std::list<Geometry::Triangle> std::list<Geometry::Edge>& GeometryOperations::edges

◆ errors

double std::vector<Geometry::Node> std::list<Geometry::Triangle> std::list<Geometry::Edge> std::string& GeometryOperations::errors

◆ nodeCoord1

double double double GeometryOperations::nodeCoord1[]

◆ nodeCoord2

double double double double GeometryOperations::nodeCoord2[]

◆ nodeCoord3

double double double double double GeometryOperations::nodeCoord3[]

◆ nodes

double std::vector<Geometry::Node>& GeometryOperations::nodes

◆ normal

double double GeometryOperations::normal[3]

◆ p2

double GeometryOperations::p2[]

◆ tolerance

double double double double double double GeometryOperations::tolerance

◆ triangles

double std::vector<Geometry::Node> std::list<Geometry::Triangle>& GeometryOperations::triangles

◆ v1

double GeometryOperations::v1[]

◆ v2

double double GeometryOperations::v2[]

◆ v3

double double double GeometryOperations::v3[]

◆ vector2

double GeometryOperations::vector2

◆ y

double GeometryOperations::y

◆ z

double double GeometryOperations::z