15 #ifndef __IPSDKGEOMETRY_VECTOR3D_H__ 16 #define __IPSDKGEOMETRY_VECTOR3D_H__ 18 #include <IPSDKGeometry/Entity/3d/BaseTypedGeometryEntity3d.h> 77 inline void setCoords(
const Point3d<T>& ptEnd);
80 inline void setRho(
const ipReal64 rho);
81 inline void setTheta(
const ipReal64 theta);
82 inline void setPhi(
const ipReal64 phi);
145 template <
typename T>
152 template <
typename T>
154 Vector3d::Vector3d(
const Point3dData<T>& ptEnd,
const Point3dData<T>& ptStart)
159 template <
typename T>
161 Vector3d::Vector3d(
const Point3d<T>& ptEnd)
166 template <
typename T>
168 Vector3d::Vector3d(
const Point3dData<T>& ptEnd)
185 template <
typename T>
192 template <
typename T>
305 #endif // __IPSDKGEOMETRY_VECTOR3D_H__ Vector.
Definition: GeometryEntity3dTypes.h:42
ipReal64 _cosTheta
computation intermediate
Definition: Vector3d.h:135
ipReal64 _theta
theta coordinate of point
Definition: Vector3d.h:128
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
static const eCoordinateSystem3dType::domain g_coordinateSystem3dType
coordinate system associated to entity
Definition: Vector3d.h:40
eCoordinateSystem3dType
Enumerate describing coordinate system 3d type.
Definition: GeometryEntity3dTypes.h:74
ipReal64 getPhi() const
access to point coordinates
Definition: Vector3d.h:234
Point class associated to cartesian 3d coordinates.
Definition: GeometryEntity3dTypes.h:29
ipReal64 getNz() const
retrieve unit normed cartesian components of vector
Definition: Vector3d.h:294
static const eEntity3dType::domain g_entity3dType
type associated to entity
Definition: Vector3d.h:43
#define IPSDK_DECLARE_GEOMETRY_ENTITY_3D(libraryName, className)
Macro allowing to declare a geometry entity 3d.
Definition: GeometryEntity3dHdrMacros.h:131
ipReal64 _sinPhi
computation intermediate
Definition: Vector3d.h:138
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
ipReal64 getCosPhi() const
access to computation intermediate
Definition: Vector3d.h:252
const Point3dData< T > & getCoords() const
access to point coordinates
Definition: Point3d.h:142
ipReal64 getX() const
retrieve cartesian components of vector
Definition: Vector3d.h:264
ipReal64 _cosPhi
computation intermediate
Definition: Vector3d.h:137
Vector class associated to spherical 3d coordinates.
Definition: Vector3d.h:32
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
Spherical coordinate system.
Definition: GeometryEntity3dTypes.h:78
eCoordinateSystem3dType getCoordinateSystem3dType() const
method allowing to retrieve coordinate system 3d type
Definition: Vector3d.h:174
ipReal64 getZ() const
retrieve cartesian components of vector
Definition: Vector3d.h:276
eEntity3dType getEntity3dType() const
method allowing to retrieve entity 3d type
Definition: Vector3d.h:180
ipReal64 getCosTheta() const
access to computation intermediate
Definition: Vector3d.h:240
ipReal64 getSinTheta() const
access to computation intermediate
Definition: Vector3d.h:246
ipReal64 getTheta() const
access to point coordinates
Definition: Vector3d.h:228
void setRho(const ipReal64 rho)
access to point coordinates
Definition: Vector3d.h:200
ipReal64 getSinPhi() const
access to computation intermediate
Definition: Vector3d.h:258
eEntity3dType
Enumerate describing entity 3d type.
Definition: GeometryEntity3dTypes.h:38
Utility functions used to handle angles 3d.
ipReal64 _sinTheta
computation intermediate
Definition: Vector3d.h:136
ipReal64 _phi
phi coordinate of point
Definition: Vector3d.h:131
void setTheta(const ipReal64 theta)
access to point coordinates
Definition: Vector3d.h:206
Base class for typed 3d geometry entities.
Definition: BaseTypedGeometryEntity3d.h:27
boost::numeric::ublas::bounded_vector< ipReal64, 3 > Vector3d
3d vector type associated to library
Definition: LinearAlgebraTypes.h:42
Basic operators used for vector 3d management.
void setCoords(const ipReal64 rho, const ipReal64 theta, const ipReal64 phi)
access to point coordinates
ipReal64 getNx() const
retrieve unit normed cartesian components of vector
Definition: Vector3d.h:282
Utility functions for vectors 3d management.
void setPhi(const ipReal64 phi)
access to point coordinates
Definition: Vector3d.h:214
Lightweight structure used to store Point3d data.
Definition: GeometryEntity3dTypes.h:27
ipReal64 _rho
rho coordinate of point
Definition: Vector3d.h:125
ipReal64 getRho() const
access to point coordinates
Definition: Vector3d.h:222
ipReal64 getNy() const
retrieve unit normed cartesian components of vector
Definition: Vector3d.h:288
IPSDK_FORCEINLINE ipReal64 centerModulo(const ipReal64 angle, const ipReal64 modulo)
function allowing to compute centered modulo of an angle
Definition: Angles.h:57
ipReal64 getY() const
retrieve cartesian components of vector
Definition: Vector3d.h:270