![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
3d segment associated to two points More...
#include <Segment3d.h>
Public Member Functions | |
| eCoordinateSystem3dType | getCoordinateSystem3dType () const |
| method allowing to retrieve coordinate system 3d type | |
| eEntity3dType | getEntity3dType () const |
| method allowing to retrieve entity 3d type | |
| ipReal64 | getLength () const |
| retrieve segment length | |
| Vector3d | getDirection () const |
| Vector3d | getUnitDirection () const |
Constructors and destructor | |
| Segment3d () | |
| Segment3d (const T x0, const T y0, const T z0, const T x1, const T y1, const T z1) | |
| Segment3d (const Point3d< T > &pt0, const Point3d< T > &pt1) | |
| Segment3d (const Point3dData< T > &pt0, const Point3dData< T > &pt1) | |
| Segment3d (const Point3d< T > &pt0, const Vector3d &v01) | |
| Segment3d (const Point3dData< T > &pt0, const Vector3d &v01) | |
| ~Segment3d () | |
| void | setCoords (const T x0, const T y0, const T z0, const T x1, const T y1, const T z1) |
| access to segment coordinates | |
| void | setCoords (const Point3d< T > &pt0, const Point3d< T > &pt1) |
| access to segment coordinates | |
| void | setCoords (const Point3dData< T > &pt0, const Point3dData< T > &pt1) |
| access to segment coordinates | |
| void | setCoords (const Point3d< T > &pt, const Vector3d &v01) |
| access to segment coordinates | |
| void | setCoords (const Point3dData< T > &pt, const Vector3d &v01) |
| access to segment coordinates | |
| void | setPoint0 (const Point3d< T > &pt0) |
| access to segment coordinates | |
| void | setPoint0 (const Point3dData< T > &pt0) |
| access to segment coordinates | |
| void | setPoint1 (const Point3d< T > &pt1) |
| access to segment coordinates | |
| void | setPoint1 (const Point3dData< T > &pt1) |
| access to segment coordinates | |
| const Point3dData< T > & | getPoint0 () const |
| access to segment coordinates | |
| const Point3dData< T > & | getPoint1 () const |
| access to segment coordinates | |
| ipReal64 | getMiddleX () const |
| retrieve segment middle point coordinates | |
| ipReal64 | getMiddleY () const |
| retrieve segment middle point coordinates | |
| ipReal64 | getMiddleZ () const |
| retrieve segment middle point coordinates | |
| Point3dData< ipReal64 > | getMiddlePoint () const |
| retrieve segment middle point coordinates | |
| ipReal64 | distance (const Point3d< T > &pt) const |
| retrieve orthogonal distance between point and segment | |
| ipReal64 | distance (const Point3d< T > &pt, Point3d< ipReal64 > &nearestPointOnSegment) const |
| retrieve orthogonal distance between point and segment | |
| ipReal64 | distance (const Point3dData< T > &pt) const |
| retrieve orthogonal distance between point and segment | |
| ipReal64 | distance (const Point3dData< T > &pt, Point3dData< ipReal64 > &nearestPointOnSegment) const |
| retrieve orthogonal distance between point and segment | |
| ipReal64 | distance (const Segment3d< T > &otherSegment) const |
| retrieve orthogonal distance between two segments | |
| ipReal64 | distance (const Segment3d< T > &otherSegment, Point3d< ipReal64 > &nearestPointOnThisSegment, Point3d< ipReal64 > &nearestPointOnOtherSegment) const |
| retrieve orthogonal distance between two segments | |
| ipReal64 | distance (const Segment3d< T > &otherSegment, Point3dData< ipReal64 > &nearestPointOnThisSegment, Point3dData< ipReal64 > &nearestPointOnOtherSegment) const |
| retrieve orthogonal distance between two segments | |
Public Member Functions inherited from ipsdk::geom::BaseTypedGeometryEntity3d< T > | |
| BaseTypedGeometryEntity3d () | |
| virtual | ~BaseTypedGeometryEntity3d ()=0 |
Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity3d | |
| eCoordinateDimension | getCoordinateDimension () const |
| method allowing to retrieve entity underlying coordinates dimension | |
| BaseGeometryEntity3d () | |
| virtual | ~BaseGeometryEntity3d ()=0 |
Public Member Functions inherited from ipsdk::geom::BaseGeometryEntity | |
| BaseGeometryEntity () | |
| virtual | ~BaseGeometryEntity ()=0 |
Public Member Functions inherited from ipsdk::BaseObjectWithSkeleton | |
| const eSklSrzMode & | getSerializationMode () const |
| retrieve serialization flag for object More... | |
| void | setSerializationMode (const eSklSrzMode &sklSrzMode) const |
| set serialization flag for object | |
| BaseObjectWithSkeleton () | |
| ~BaseObjectWithSkeleton () | |
Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| BaseSerializationObject () | |
| Default constructor. | |
| virtual | ~BaseSerializationObject ()=0 |
| destructor | |
Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual const std::string & | getClassName () const |
| method allowing to retrieve object class name | |
| virtual BaseDynamicObject * | createNew () const =0 |
| method allowing to create new instance of current object type | |
| virtual DynamicObjectPtr | createShared () const =0 |
| method allowing to create new shared instance of current object type | |
| virtual bool | hasCopySupport () const =0 |
| check whether objet has copy support | |
| virtual BaseDynamicObject * | duplicate () const =0 |
| method allowing to duplicate current object More... | |
| virtual DynamicObjectPtr | duplicateShared () const =0 |
| method allowing shared duplication of current object More... | |
| BaseDynamicObject () | |
| virtual | ~BaseDynamicObject ()=0 |
Static Public Attributes | |
| static const eCoordinateSystem3dType::domain | g_coordinateSystem3dType = eCoordinateSystem3dType::eCS3DT_Cartesian |
| coordinate system associated to entity | |
| static const eEntity3dType::domain | g_entity3dType = eEntity3dType::eE3DT_Segment |
| type associated to entity | |
Static Public Attributes inherited from ipsdk::geom::BaseGeometryEntity3d | |
| static const eCoordinateDimension::domain | g_coordinateDimension = eCoordinateDimension::eCD_3d |
| entity underlying coordinates dimension | |
Protected Attributes | |
| Point3dData< T > | _pt0 |
| first point associated to segment | |
| Point3dData< T > | _pt1 |
| second point associated to segment | |
Protected Attributes inherited from ipsdk::BaseObjectWithSkeleton | |
| eSklSrzMode | _sklSrzMode |
| serialization flag for object More... | |
Additional Inherited Members | |
Public Types inherited from ipsdk::geom::BaseTypedGeometryEntity3d< T > | |
| typedef T | DataType |
| data type associated to coordinates | |
Static Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| static ipUInt32 | getVersion () |
| method allowing to retrieve class version information for serialization | |
Static Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| static const std::string & | getTypeName () |
| method allowing to retrieve name associated to class | |
Protected Member Functions inherited from ipsdk::BaseSerializationObject | |
| virtual BoolResult | write (BaseOArchive &ar) const |
| method allowing to ensure serialization write part for object | |
| virtual BoolResult | read (BaseIArchive &ar) |
| method allowing to ensure serialization read part for object | |
Protected Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual void | initCtorCopy (const BaseDynamicObject &object) |
| virtual void | copy (const BaseDynamicObject &object) |
| method allowing to copy data from another object | |
3d segment associated to two points
| Vector3d ipsdk::geom::Segment3d< T >::getDirection | ( | ) | const |
retrieve director vector associated to segment (V = (Pt1-Pt0) so V is not unit normed)
| Vector3d ipsdk::geom::Segment3d< T >::getUnitDirection | ( | ) | const |
retrieve unit normed director vector associated to segment (V = (Pt1-Pt0)/||Pt1-Pt0||)
1.8.14