Skip to content

Project OpenGeode

class GenericPolygon

class GenericPolygon

Functions

GenericPolygon

cpp
public void GenericPolygon<PointType, dimension>(std::vector<PointType> vertices)
public void GenericPolygon<PointType, dimension>(std::vector<PointType> vertices)

GenericPolygon

cpp
public void GenericPolygon<PointType, dimension>(const GenericPolygon<PointType, dimension> & other)
public void GenericPolygon<PointType, dimension>(const GenericPolygon<PointType, dimension> & other)

operator=

cpp
public GenericPolygon<PointType, dimension> & operator=(const GenericPolygon<PointType, dimension> & other)
public GenericPolygon<PointType, dimension> & operator=(const GenericPolygon<PointType, dimension> & other)

GenericPolygon

cpp
public void GenericPolygon<PointType, dimension>(GenericPolygon<PointType, dimension> && other)
public void GenericPolygon<PointType, dimension>(GenericPolygon<PointType, dimension> && other)

operator=

cpp
public GenericPolygon<PointType, dimension> & operator=(GenericPolygon<PointType, dimension> && other)
public GenericPolygon<PointType, dimension> & operator=(GenericPolygon<PointType, dimension> && other)

barycenter

cpp
public Point<dimension> barycenter()
public Point<dimension> barycenter()

normal

cpp
public typename std::enable_if<T == 3, optional<Vector3D> >::type normal()
public typename std::enable_if<T == 3, optional<Vector3D> >::type normal()

plane

cpp
public typename std::enable_if<T == 3, optional<Plane> >::type plane()
public typename std::enable_if<T == 3, optional<Plane> >::type plane()

owner_plane

cpp
public typename std::enable_if<T == 3, optional<OwnerPlane> >::type owner_plane()
public typename std::enable_if<T == 3, optional<OwnerPlane> >::type owner_plane()

nb_vertices

cpp
public index_t nb_vertices()
public index_t nb_vertices()

set_point

cpp
public void set_point(index_t vertex, PointType point)
public void set_point(index_t vertex, PointType point)

vertices

cpp
public const std::vector<PointType> & vertices()
public const std::vector<PointType> & vertices()

bounding_box

cpp
public BoundingBox<dimension> bounding_box()
public BoundingBox<dimension> bounding_box()

triangulate

cpp
public std::vector<std::array<index_t, 3> > triangulate()
public std::vector<std::array<index_t, 3> > triangulate()

is_degenerated

cpp
public bool is_degenerated()
public bool is_degenerated()

string

cpp
public basic_string string()
public basic_string string()

class GenericPolygon

class GenericPolygon

class GenericPolygon

Geode-solutions' documentation website