#include <FxGeomUtils.h>
|
virtual void | SelectSubentsByPoint (CFxView *pView, CFxGsNode *p3dSolidGsNode, const OdGePoint3d &ptPickPoint, OdArray< OdGsMarker > &aMarkers) const =0 |
|
virtual bool | GetNormalOfPlanarFace (OdDb3dSolidPtr pSolid, const OdDbFullSubentPath &face, OdGeVector3d &normal) const =0 |
|
virtual bool | GetClosestPointInFace (const OdGePoint3d &pt, OdDbEntityPtr pObj, const OdDbFullSubentPath &face, OdGePoint3d &closest, OdGeVector3d &Utangent, OdGeVector3d &Vtangent) const =0 |
|
virtual bool | shootRayAgainstObject (OdDbEntityPtr pObj, double tol, const OdGePoint3d &base, const OdGeVector3d &viewDir, OdArray< OdDbSubentId > &subEntIds, OdGeDoubleArray ¶meters) const =0 |
|
virtual bool | shootRayAgainstObject (OdDbEntityPtr pObj, double tol, const OdGePoint3d &base, const OdGeVector3d &viewDir, OdArray< OdDbSubentId > &subEntIds, OdGePoint3d &pickPoint) const =0 |
|
virtual bool | shootRayAgainstArrayObjects (std::vector< OdDbEntityPtr > pObjs, double tol, const OdGePoint3d &base, const OdGeVector3d &viewDir, int &index, OdArray< OdDbSubentId > &subEntIds, OdGeDoubleArray ¶meters) const =0 |
|
virtual bool | shootRayAgainstArrayObjects (std::vector< OdDbEntityPtr > pObjs, double tol, const OdGePoint3d &base, const OdGeVector3d &viewDir, int &index, OdArray< OdDbSubentId > &subEntIds, OdGePoint3d &pickPoint) const =0 |
|
virtual bool | shootRayToGetMultipleSubEntities (std::vector< OdDbEntityPtr > pObjs, double tol, const OdGePoint3d &base, const OdGeVector3d &viewDir, int &index, OdArray< OdDbSubentId > &subEntIds, OdArray< OdGePoint3d > &pickPoints) const =0 |
|
virtual bool | shootRayToGetMultipleSubEntities (std::vector< OdDbEntityPtr > pObjs, double tol, const OdGePoint3d &base, const OdGeVector3d &viewDir, int &index, OdArray< OdDbSubentId > &subEntIds, OdGeDoubleArray ¶meters) const =0 |
|
virtual bool | SelectEdgeOnFace (CFxView *pView, CFxGsNode *p3dSolidGsNode, const OdGePoint3d &ptPickPoint, const OdGsMarker &faceId, OdGsMarker &edgeId) const =0 |
|
virtual bool | GetEdgesFromFace (OdDb3dSolidPtr p3dSolid, const OdDbFullSubentPath &face, OdDbFullSubentPathArray &edgePaths) const =0 |
|
|
static OdGeMatrix3d | GetTransform (const OdDbObjectIdArray &idArray) |
|
static OdGeMatrix3d | GetTransform (const OdDbFullSubentPath &path) |
|
static OdGePoint3dArray | GetImageBoundary (const OdGeMatrix3d &mPixelToModel, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts) |
|
static OdGeMatrix3d | GetPixelToModelTransform (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, double ySize) |
|
static OdDbEntityPtr | GetPolySegment (const OdDbEntityPtr pPoly, const OdGePoint3d &pickPoint) |
|
static bool | GetSegmentAtPoint (OdDbCurvePtr pPLine, const OdGePoint3d pointOnPLine, OdGeCircArc3d &circ, OdGeLineSeg3d &line, bool &isArc, bool &isLine) |
|
static OdDbPolylinePtr | ConvertToStdPolyline (OdDbCurvePtr pCurve) |
|
Definition at line 40 of file FxGeomUtils.h.
◆ ConvertToStdPolyline()
◆ GetClosestPointInFace()
Find closest Point on Face from Input pt this point returned in parameter-coordinates (u,v) ==> param Arguments:
- Parameters
-
Return Value: true if it succeeds, false if it fails.
◆ GetEdgesFromFace()
Get all Edges to selected face. Arguments:
- Parameters
-
[in,out] | p3dSolid | pointer to OdDb3dSolid |
[in] | face | face |
[out] | edgePaths | EdgeArray. |
Return Value: true if it succeeds, false if it fails.
◆ GetImageBoundary()
Returns boundary in model coordinates. In case of 2 points in 'uvBoundary' it's converted to closed rectangle.
◆ GetNormalOfPlanarFace()
returns true if face is planar else false Arguments:
- Parameters
-
[in] | pSolid | If non-null, the 3d solid. |
[in] | face | OdDbFullSubentPath face. |
[out] | normal | the normal of face i_face |
◆ GetPixelToModelTransform()
◆ GetPolySegment()
◆ GetSegmentAtPoint()
◆ GetTransform() [1/2]
◆ GetTransform() [2/2]
Returns transformation matrix from model coordiantes to space coordiantes
◆ SelectEdgeOnFace()
Select edge on face. Arguments:
- Parameters
-
[in,out] | pView | If non-null, the view. |
[in,out] | p3dSolidGsNode | If non-null, the 3d solid gs node. |
| ptPickPoint | The point pick point. |
| faceId | Identifier for the face. |
[in,out] | edgeId | Identifier for the edge. |
Return Value: true if it succeeds, false if it fails.
◆ SelectSubentsByPoint()
Returns subents gs markers sorted along direction from camera to target. Currently only finds 3dsolid's faces at pickpoint.
◆ shootRayAgainstArrayObjects() [1/2]
compute nearest intersection of ray ( base + c * viewDir) with all Entities pObjs. Arguments:
- Parameters
-
[in] | pObjs | Array of Entities |
[in] | tol | radius of tube around of ray |
[in] | base | basepoint of ray |
[in] | viewDir | direction of ray |
[out] | | |
index of entity in array
- Parameters
-
[out] | subEntIds | the subEntitiesIds met by the ray corresponding to parameter[0], (only one: the first) \ the subentity can be of type kFaceSubentType, kEdgeSubentType or kVertexSubentType, \ this depends on the size of tol |
[out] | parameters | nearest intersection-parameter on ray Return Value: true if intersection found, false if not. |
◆ shootRayAgainstArrayObjects() [2/2]
compute nearest intersection of ray ( base + c * viewDir) with all Entities pObjs. Arguments:
- Parameters
-
[in] | pObjs | Array of Entities |
[in] | tol | radius of tube around of ray |
[in] | base | basepoint of ray |
[in] | | |
direction of ray
- Parameters
-
index of entity in array
- Parameters
-
the subEntitiesIds met by the ray corresponding to o_parameter[0], (only one: the first) \ the subentity can be of type kFaceSubentType, kEdgeSubentType or kVertexSubentType, \ this depends on the size of tol
- Parameters
-
[out] | pickPoint | The first intersectionpoint with ray |
Return Value: true if intersection found, false if not.
◆ shootRayAgainstObject() [1/2]
compute nearest intersection of ray ( base + c * viewDir) with Object pObj. Arguments:
- Parameters
-
[in] | pObj | If non-null, the Object ( 3dSolid or Region or Surface ) |
[in] | tol | radius of tube around of ray |
[in] | base | basepoint of ray |
[in] | viewDir | direction of ray |
[out] | subEntIds | the subEntitiesIds met by the ray (only one: the first) \ the subentity can be of type kFaceSubentType, kEdgeSubentType or kVertexSubentType, \ this depends on the size of tol |
[out] | parameters | nearest intersection-parameter on ray Return Value: true if intersection found, false if not. |
◆ shootRayAgainstObject() [2/2]
compute nearest intersection of ray ( base + c * viewDir) with Object pObj. Arguments:
- Parameters
-
[in] | pObj | If non-null, the Object ( 3dSolid or Region or Surface ) |
[in] | tol | radius of tube around of ray |
[in] | | |
basepoint of ray
- Parameters
-
[in] | viewDir | direction of ray |
[out] | subEntIds | the subEntitiesIds met by the ray (only one: the first) \ the subentity can be of type kFaceSubentType, kEdgeSubentType or kVertexSubentType, \ this depends on the size of tol |
[out] | pickPoint | The first intersectionpoint with ray |
Return Value: true if intersection found, false if not.
◆ shootRayToGetMultipleSubEntities() [1/2]
computes all possible intersections of ray ( base + c * viewDir) with all Entities pObjs. Arguments:
- Parameters
-
[in] | pObjs | Array of Entities |
[in] | tol | radius of tube around of ray |
[in] | base | basepoint of ray |
[in] | viewDir | direction of ray |
[out] | | |
index of entity in array
- Parameters
-
[out] | subEntIds | the subEntitiesIds met by the ray corresponding to all parameters, (from nearest to farthest) \ the subentity can be of type kFaceSubentType, kEdgeSubentType or kVertexSubentType, \ this depends on the size of tol |
[out] | parameters | nearest intersection-parameter on ray Return Value: true if intersection found, false if not. |
◆ shootRayToGetMultipleSubEntities() [2/2]
compute all possible intersections of ray ( base + c * viewDir) with all Entities pObjs. Arguments:
- Parameters
-
[in] | pObjs | Array of Entities |
[in] | tol | radius of tube around of ray |
[in] | base | basepoint of ray |
[in] | | |
direction of ray
- Parameters
-
index of entity in array
- Parameters
-
the subEntitiesIds met by the ray corresponding to all parameters, (from nearest to farthest) \ the subentity can be of type kFaceSubentType, kEdgeSubentType or kVertexSubentType, \ this depends on the size of tol
- Parameters
-
[out] | pickPoint | The first intersectionpoint with ray |
Return Value: true if intersection found, false if not.
The documentation for this class was generated from the following file: