Skip to content

Project OpenGeode-Inspector

class BRepLinesTopology

Class for inspecting the topology of a BRep model lines through their unique vertices

Functions

BRepLinesTopology

cpp
public void BRepLinesTopology(const BRep & brep)
public void BRepLinesTopology(const BRep & brep)

brep_lines_topology_is_valid

cpp
public bool brep_lines_topology_is_valid(index_t unique_vertex_index)
public bool brep_lines_topology_is_valid(index_t unique_vertex_index)

Checks if the brep unique vertices are parts of valid lines, i.e. verify: Each line is either internal or boundary. If a line is internal to an object, it cannot be incident to it. If the vertex is part of only one line, the line is either internal to a surface, internal to a block, or a boundary of multiple surfaces. If the vertex is part of multiple lines, it is also a corner.

vertex_is_part_of_not_internal_nor_boundary_line

cpp
public std::optional<std::string> vertex_is_part_of_not_internal_nor_boundary_line(index_t unique_vertex_index)
public std::optional<std::string> vertex_is_part_of_not_internal_nor_boundary_line(index_t unique_vertex_index)

vertex_is_part_of_invalid_embedded_line

cpp
public std::optional<std::string> vertex_is_part_of_invalid_embedded_line(index_t unique_vertex_index)
public std::optional<std::string> vertex_is_part_of_invalid_embedded_line(index_t unique_vertex_index)

vertex_is_part_of_invalid_single_line

cpp
public std::optional<std::string> vertex_is_part_of_invalid_single_line(index_t unique_vertex_index)
public std::optional<std::string> vertex_is_part_of_invalid_single_line(index_t unique_vertex_index)

vertex_has_lines_but_is_not_a_corner

cpp
public std::optional<std::string> vertex_has_lines_but_is_not_a_corner(index_t unique_vertex_index)
public std::optional<std::string> vertex_has_lines_but_is_not_a_corner(index_t unique_vertex_index)

inspect_lines_topology

cpp
public BRepLinesTopologyInspectionResult inspect_lines_topology()
public BRepLinesTopologyInspectionResult inspect_lines_topology()

Geode-solutions' documentation website