23 #ifndef LINESEGMENTARRANGEMENT_H 24 #define LINESEGMENTARRANGEMENT_H 26 #include "utility/geom/d2/Surface2d.h" 28 #include "../../cgal_types.h" 29 #include "utility/geom/d1/Segment2d.h" 30 #include <CGAL/Exact_predicates_exact_constructions_kernel.h> 31 #include <CGAL/Arr_segment_traits_2.h> 32 #include <CGAL/Arrangement_2.h> 36 typedef CGAL::Exact_predicates_exact_constructions_kernel ArrKernel;
37 typedef CGAL::Arr_segment_traits_2<ArrKernel> ArrTraits_2;
38 typedef CGAL::Arrangement_2<ArrTraits_2> Arrangement_2;
55 GEOM_FT
GetMax(
unsigned short int i)
const;
56 GEOM_FT
GetMin(
unsigned short int i)
const;
58 bool In(
const Pos2d &p,
const double &tol)
const;
59 GEOM_FT
Ix(
void)
const;
60 GEOM_FT
Iy(
void)
const;
61 GEOM_FT
Pxy(
void)
const;
64 void Print(std::ostream &os)
const;
size_t getNumberOfVertices(void) const
Return the number of vertices.
Definition: LineSegmentArrangement.cc:67
Posición en dos dimensiones.
Definition: Pos2d.h:41
GEOM_FT GetMax(unsigned short int i) const
Return the maximum value of the i-th coordinate.
Definition: LineSegmentArrangement.cc:88
Pos2d getCenterOfMass(void) const
Return the center of mass.
Definition: LineSegmentArrangement.cc:79
Base class for two-dimensional transformations.
Definition: Trf2d.h:40
bool In(const Pos2d &p, const double &tol) const
Return true if the point is inside the object.
Definition: LineSegmentArrangement.cc:104
void Transform(const Trf2d &)
Applies the transformation being passed as parameter.
Definition: LineSegmentArrangement.cc:142
Base class for surfaces in a two-dimensional space.
Definition: Surface2d.h:33
GEOM_FT Ix(void) const
Compute moment of inertia with respect to an axis parallel to the x axis that passes through thecente...
Definition: LineSegmentArrangement.cc:114
Base class for the polygonal surfaces.
Definition: LineSegmentArrangement.h:43
virtual GeomObj * getCopy(void) const
Virtual constructor.
Definition: LineSegmentArrangement.cc:63
GEOM_FT Iy(void) const
Calcula el moment of inertia with respect to an axis parallel to the y axis que pasa por el polygon c...
Definition: LineSegmentArrangement.cc:124
GEOM_FT Pxy(void) const
Calcula el product of inertia with respect to the axis parallel to the x and y that passes through th...
Definition: LineSegmentArrangement.cc:134
Clase base para las entidades geométricas.
Definition: GeomObj.h:40
GEOM_FT GetMin(unsigned short int i) const
Return the minimum value of the i-th coordinate.
Definition: LineSegmentArrangement.cc:96
size_t getNumberOfEdges(void) const
Return the number of edges.
Definition: LineSegmentArrangement.cc:71
size_t getNumberOfFaces(void) const
Return the number of faces.
Definition: LineSegmentArrangement.cc:75