#include <phlv5_edge.hxx>
Inherits ENTITY_PHLV5.

Public Member Functions | |
| BODY * | GetBody () const |
Gets the BODY of the underlying modeling EDGE. | |
| CURVE * | GetCurve () |
Gets the CURVE of the underlying modeling EDGE. | |
| EDGE * | GetEdge () const |
Gets the EDGE of the underlying modeling EDGE. | |
| FACE * | GetFace () const |
Gets the FACE of the underlying modeling EDGE. | |
| int | GetNPoints () const |
| Gets the number of points in the polyline list. | |
| int | GetParam (double &SParam, double &EParam) const |
Gets the start and end parameters of the underlying modeling CURVE. | |
| PHLV5_SEGMENT * | GetSegment () const |
| Returns the pointer to the first segment. | |
| void | GetSegmentList (ENTITY_LIST &seg_list) const |
| Gets the segments in the form of an entity list. | |
| int | GetSense () const |
Gets the sense of the underlying modeling EDGE. | |
| float * | GetTabPoint () const |
| Gets a pointer to the polyline points. | |
| float | GetVal (int i) const |
| Gets a specific polyline point. | |
| logical | isSilhouette () const |
| Returns TRUE if the PHLV5_EDGE refers to a silhouette line. | |
| PHLV5_EDGE (PHLV5_EDGE const &e) | |
| C++ copy constructor. | |
| PHLV5_EDGE (CURVE *Curve=0, BODY *Body=0, FACE *theFace=0, PHLV5_SEGMENT *Seg=0, float *Point=0, int n=0, int MySense=0, EDGE *Edge=0, PHLV5_OCC *occ=0, logical persistable=TRUE) | |
| C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments. | |
| void | SetBounds (double SParam, double EParam) |
| Sets the start and end parameters of the curve. | |
Role: The PHLV5_EDGE class acts as the primary output of the API api_phlv5_compute. Each PHLV5 edge is essentially a wrapper to an underlying ACIS EDGE. It contains a pointer to the CURVE of the EDGE, a pointer to a list of PHLV5_SEGMENTs (containing visibility information for that EDGE), and a pointer to a polyline representing the EDGE in 3D space. The modeling data with visibility start and stop parameters can be used to display the hidden line representation in an end user application or, for better performance, the polyline data can be used directly.
| PHLV5_EDGE::PHLV5_EDGE | ( | CURVE * | Curve = 0, |
|
| BODY * | Body = 0, |
|||
| FACE * | theFace = 0, |
|||
| PHLV5_SEGMENT * | Seg = 0, |
|||
| float * | Point = 0, |
|||
| int | n = 0, |
|||
| int | MySense = 0, |
|||
| EDGE * | Edge = 0, |
|||
| PHLV5_OCC * | occ = 0, |
|||
| logical | persistable = TRUE | |||
| ) |
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
Role: Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.
| PHLV5_EDGE::PHLV5_EDGE | ( | PHLV5_EDGE const & | e | ) |
| int PHLV5_EDGE::GetNPoints | ( | ) | const |
Gets the number of points in the polyline list.
| int PHLV5_EDGE::GetParam | ( | double & | SParam, | |
| double & | EParam | |||
| ) | const |
Gets the start and end parameters of the underlying modeling CURVE.
| SParam | Start parameter. | |
| EParam | End parameter. |
| PHLV5_SEGMENT* PHLV5_EDGE::GetSegment | ( | ) | const [inline] |
Returns the pointer to the first segment.
| void PHLV5_EDGE::GetSegmentList | ( | ENTITY_LIST & | seg_list | ) | const |
Gets the segments in the form of an entity list.
| seg_list | Entity list. |
| int PHLV5_EDGE::GetSense | ( | ) | const |
Gets the sense of the underlying modeling EDGE.
| float* PHLV5_EDGE::GetTabPoint | ( | ) | const |
Gets a pointer to the polyline points.
| float PHLV5_EDGE::GetVal | ( | int | i | ) | const |
Gets a specific polyline point.
| i | Single coordinate of a polyline point. |
| logical PHLV5_EDGE::isSilhouette | ( | ) | const [inline] |
Returns TRUE if the PHLV5_EDGE refers to a silhouette line.
| void PHLV5_EDGE::SetBounds | ( | double | SParam, | |
| double | EParam | |||
| ) |
Sets the start and end parameters of the curve.
| SParam | Start parameter. | |
| EParam | End parameter. |