Rhino C++ API
8.13
|
#include <opennurbs_plus_mesh_intersection.h>
Public Member Functions | |
ON_XMeshFace (ON_XMeshVertex *pV0, ON_XMeshVertex *pV1, ON_XMeshVertex *pV2, ON_XMeshEdge *pE0, bool bRev0, ON_XMeshEdge *pE1, bool bRev1, ON_XMeshEdge *pE2, bool bRev2) | |
~ON_XMeshFace () | |
bool | AddFF (ON_XMeshFF *pFF) |
void | Box (double fmin[3], double fmax[3]) const |
int | ClassifyPoint (const ON_3dPoint &P, double &dist) |
bool | ClosestPoint (const ON_3dPoint &P, ON_3dPoint &abc) |
Get barycentric coords. Returns false if face is degenerate of algorithm fails. More... | |
void | CreateComponentString (ON_wString &S) const override |
bool | CreatePlane () |
ON_XMeshEdge * | Edge (int eid) |
const ON_XMeshEdge * | Edge (int eid) const |
ON_XMeshEdge * | Edge (int eid, bool &bRev) |
const ON_XMeshEdge * | Edge (int eid, bool &bRev) const |
int | EdgeId (const ON_XMeshEdge *pE) const |
returns index in F.m_E. More... | |
bool | EdgeIsReversed (int eid) const |
void | Edges (ON_SimpleArray< const ON_XMeshEdge * > &E) const override |
void | Edges (ON_SimpleArray< ON_XMeshEdge * > &E) override |
void | Faces (ON_SimpleArray< const ON_XMeshFace * > &F) const override |
Appends to array. More... | |
void | Faces (ON_SimpleArray< ON_XMeshFace * > &F) override |
Appends to array. More... | |
ON_XMeshFF * | FindFF (int this_side, ON_XMeshFace *pFOther) |
bool | GetVectorIntoFace (const ON_XMeshEdge *pE, ON_3dVector &V) const |
bool | GetVectorIntoFace (int eid, ON_3dVector &V) const |
bool | HasXData () const |
If degenerate, will not make a plane but will flag the face as degenerate. More... | |
bool | IsDegenerate () const |
Just look at m_bIsDegenerate. More... | |
bool | IsValid () const override |
Just checks m_bOK and for null verts, edges. More... | |
const ON_PlaneEquation & | PlaneEquation () const |
double | PlaneFuzz () const |
const ON_3dPoint & | Point (int vid) const |
i = 0,1,2. More... | |
ON_3dPoint | PointAt (const ON_3dPoint &abc) const |
ON_XMeshVertex * | Vertex (int vid) |
const ON_XMeshVertex * | Vertex (int vid) const |
int | VertexId (const ON_XMeshVertex *pV) const |
-1 if not found. More... | |
int | VertexNotOnEdge (const ON_XMeshEdge *pE) const |
Returns index in F.m_V or -1. More... | |
int | VertexNotOnEdge (int eid) const |
input index into F.m_E. 0, 1, 2. More... | |
void | Vertices (ON_SimpleArray< const ON_XMeshVertex * > &V) const override |
void | Vertices (ON_SimpleArray< ON_XMeshVertex * > &V) override |
Whatever it is, what are the components that involve it? More... | |
Public Member Functions inherited from ON_XMeshComponent | |
virtual | ~ON_XMeshComponent () |
bool | AddEvent (ON_XMeshEvent *pX) |
ON_XMeshEdge * | Edge () |
const ON_XMeshEdge * | Edge () const |
ON_XMeshEvent * | Event (int xid) |
const ON_XMeshEvent * | Event (int xid) const |
int | EventCount () const |
Look through the event list. More... | |
ON_XMeshFace * | Face () |
const ON_XMeshFace * | Face () const |
const ON_XMeshEvent * | FindEvent (const ON_XMeshComponent *pC) const |
ON_XMeshEvent * | FindEvent (ON_XMeshComponent *pC) |
bool | HasEvent (const ON_XMeshComponent *pC) const |
Does m_X have a member with component? More... | |
bool | IsEdge () const |
bool | IsFace () const |
bool | IsVertex () const |
What is this thing? More... | |
void | RemoveEvent (ON_XMeshEvent *pX) |
ON_XMeshVertex * | Vertex () |
Cast. More... | |
const ON_XMeshVertex * | Vertex () const |
Friends | |
class | ON_XMesh |
class | ON_XMeshFaceIterator |
class | ON_XMeshFacePool |
class | ON_XMeshIntersector |
Additional Inherited Members | |
Protected Member Functions inherited from ON_XMeshComponent | |
ON_XMeshComponent () | |
ON_XMeshComponent (const ON_XMeshComponent &C) | |
Not implemented. More... | |
ON_XMeshComponent & | operator= (const ON_XMeshComponent &src) |
Not implemented. More... | |
Protected Attributes inherited from ON_XMeshComponent | |
bool | m_bIsValid |
const ON_XMesh * | m_pM |
used by fixed pool stuff More... | |
eXMeshPoolStatus | m_status |
ON_XMeshEventList * | m_X |
events not managed here More... | |
ON_XMeshFace::ON_XMeshFace | ( | ON_XMeshVertex * | pV0, |
ON_XMeshVertex * | pV1, | ||
ON_XMeshVertex * | pV2, | ||
ON_XMeshEdge * | pE0, | ||
bool | bRev0, | ||
ON_XMeshEdge * | pE1, | ||
bool | bRev1, | ||
ON_XMeshEdge * | pE2, | ||
bool | bRev2 | ||
) |
ON_XMeshFace::~ON_XMeshFace | ( | ) |
bool ON_XMeshFace::AddFF | ( | ON_XMeshFF * | pFF | ) |
void ON_XMeshFace::Box | ( | double | fmin[3], |
double | fmax[3] | ||
) | const |
int ON_XMeshFace::ClassifyPoint | ( | const ON_3dPoint & | P, |
double & | dist | ||
) |
Where is P in relation to the face's plane. -1 below. 1 above. 0 on. dist will be negative if below.
Will return 0 if fabs(dist) < fuzz
bool ON_XMeshFace::ClosestPoint | ( | const ON_3dPoint & | P, |
ON_3dPoint & | abc | ||
) |
Get barycentric coords. Returns false if face is degenerate of algorithm fails.
|
overridevirtual |
Reimplemented from ON_XMeshComponent.
bool ON_XMeshFace::CreatePlane | ( | ) |
Only fails if there's an allocation problem.
ON_XMeshEdge* ON_XMeshFace::Edge | ( | int | eid | ) |
const ON_XMeshEdge* ON_XMeshFace::Edge | ( | int | eid | ) | const |
ON_XMeshEdge* ON_XMeshFace::Edge | ( | int | eid, |
bool & | bRev | ||
) |
const ON_XMeshEdge* ON_XMeshFace::Edge | ( | int | eid, |
bool & | bRev | ||
) | const |
int ON_XMeshFace::EdgeId | ( | const ON_XMeshEdge * | pE | ) | const |
returns index in F.m_E.
bool ON_XMeshFace::EdgeIsReversed | ( | int | eid | ) | const |
|
overridevirtual |
Implements ON_XMeshComponent.
|
overridevirtual |
Implements ON_XMeshComponent.
|
overridevirtual |
Appends to array.
Implements ON_XMeshComponent.
|
overridevirtual |
Appends to array.
Implements ON_XMeshComponent.
ON_XMeshFF* ON_XMeshFace::FindFF | ( | int | this_side, |
ON_XMeshFace * | pFOther | ||
) |
bool ON_XMeshFace::GetVectorIntoFace | ( | const ON_XMeshEdge * | pE, |
ON_3dVector & | V | ||
) | const |
bool ON_XMeshFace::GetVectorIntoFace | ( | int | eid, |
ON_3dVector & | V | ||
) | const |
If face isn't degenerate, get the vector perp to edge pointing to the interior of the face from the edge midpt
bool ON_XMeshFace::HasXData | ( | ) | const |
If degenerate, will not make a plane but will flag the face as degenerate.
bool ON_XMeshFace::IsDegenerate | ( | ) | const |
Just look at m_bIsDegenerate.
|
overridevirtual |
Just checks m_bOK and for null verts, edges.
Reimplemented from ON_XMeshComponent.
const ON_PlaneEquation& ON_XMeshFace::PlaneEquation | ( | ) | const |
double ON_XMeshFace::PlaneFuzz | ( | ) | const |
const ON_3dPoint& ON_XMeshFace::Point | ( | int | vid | ) | const |
i = 0,1,2.
ON_3dPoint ON_XMeshFace::PointAt | ( | const ON_3dPoint & | abc | ) | const |
ON_XMeshVertex* ON_XMeshFace::Vertex | ( | int | vid | ) |
const ON_XMeshVertex* ON_XMeshFace::Vertex | ( | int | vid | ) | const |
int ON_XMeshFace::VertexId | ( | const ON_XMeshVertex * | pV | ) | const |
-1 if not found.
returns index in F.m_V.
int ON_XMeshFace::VertexNotOnEdge | ( | const ON_XMeshEdge * | pE | ) | const |
Returns index in F.m_V or -1.
if pE is not an edge of face, returns -1
int ON_XMeshFace::VertexNotOnEdge | ( | int | eid | ) | const |
input index into F.m_E. 0, 1, 2.
|
overridevirtual |
Implements ON_XMeshComponent.
|
overridevirtual |
Whatever it is, what are the components that involve it?
Implements ON_XMeshComponent.
|
friend |
|
friend |
|
friend |
|
friend |