15 #ifndef __IPSDKGEOMETRY_POINT2D_H__ 16 #define __IPSDKGEOMETRY_POINT2D_H__ 20 #pragma warning (push) 21 #pragma warning (disable : 4251) 23 #include <IPSDKGeometry/Entity/2d/BaseTypedGeometryEntity2d.h> 24 #include <IPSDKGeometry/Entity/2d/Point/Point2dData.h> 73 inline void setCoords(
const T x,
const T y);
74 inline void setX(
const T x);
75 inline void setY(
const T y);
76 inline T getX()
const;
77 inline T getY()
const;
123 template <
typename T>
127 return g_coordinateSystem2dType;
130 template <
typename T>
134 return g_entity2dType;
137 template <
typename T>
144 template <
typename T>
151 template <
typename T>
158 template <
typename T>
165 template <
typename T>
173 template <
typename T>
180 template <
typename T>
187 template <
typename T>
194 template <
typename T>
201 template <
typename T>
208 template <
typename T>
221 #pragma warning (pop) 223 #endif // __IPSDKGEOMETRY_POINT2D_H__ Point2dData< T > _ptData
coordinates of point
Definition: Point2d.h:117
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Point class associated to cartesian 2d coordinates.
Definition: GeometryEntity2dTypes.h:28
void setX(const T x)
access to point coordinates
Definition: Point2d.h:175
T getX() const
access to point coordinates
Definition: Point2d.h:189
IPSDKGEOMETRY_API Point2d< T > operator*(const ipReal64 value, const Point2d< T > &pt)
arithmetic operators on point
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
eCoordinateSystem2dType
Enumerate describing coordinate system 2d type.
Definition: GeometryEntity2dTypes.h:76
Point.
Definition: GeometryEntity2dTypes.h:40
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
Utility functions for points 2d management.
eCoordinateSystem2dType getCoordinateSystem2dType() const
method allowing to retrieve coordinate system 2d type
Definition: Point2d.h:125
T getY() const
access to point coordinates
Definition: Point2d.h:196
void setY(const T y)
access to point coordinates
Definition: Point2d.h:182
#define IPSDK_DECLARE_GEOMETRY_ENTITY_2D(libraryName, className)
Macro allowing to declare a geometry entity 2d.
Definition: GeometryEntity2dHdrMacros.h:131
eEntity2dType getEntity2dType() const
method allowing to retrieve entity 2d type
Definition: Point2d.h:132
void setCoords(const Point2dData< T > &ptData)
access to point coordinates
Definition: Point2d.h:160
Vector class associated to polar 2d coordinates.
Definition: Vector2d.h:32
const Point2dData< T > & getCoords() const
access to point coordinates
Definition: Point2d.h:139
Basic operators used for point 2d management.
boost::numeric::ublas::bounded_vector< ipReal64, 2 > Vector2d
2d vector type associated to library
Definition: LinearAlgebraTypes.h:39
eEntity2dType
Enumerate describing entity 2d type.
Definition: GeometryEntity2dTypes.h:38
IPSDKGEOMETRY_API ipReal64 normL2(const Point2d< T > &pt)
compute point norm
Lightweight structure used to store Point2d data.
Definition: GeometryEntity2dTypes.h:26
Cartesian coordinate system.
Definition: GeometryEntity2dTypes.h:78