Rhino C++ API  8.14
Public Member Functions | Friends | List of all members
ON_XMeshEdge Class Reference

#include <opennurbs_plus_mesh_intersection.h>

Inheritance diagram for ON_XMeshEdge:
ON_XMeshComponent

Public Member Functions

 ON_XMeshEdge (ON_XMeshVertex *pV0, ON_XMeshVertex *pV1)
 
 ~ON_XMeshEdge ()
 
bool ClosestPointToLine (const ON_3dPoint &P, double *t) const
 
void CreateComponentString (ON_wString &S) const override
 
void Edges (ON_SimpleArray< const ON_XMeshEdge * > &E) const override
 
void Edges (ON_SimpleArray< ON_XMeshEdge * > &E) override
 
const ON_3dPointEndPoint () const
 No checking for valid vertex. More...
 
ON_XMeshVertexEndVertex ()
 
const ON_XMeshVertexEndVertex () const
 
ON_XMeshFaceFace (int fid)
 
const ON_XMeshFaceFace (int fid) const
 
int FaceCount () const
 
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...
 
bool IsDegenerate () const
 
bool IsValid () const override
 
ON_3dPoint MidPoint () const
 No checking for valid vertex. More...
 
ON_3dPoint PointAt (double t) const
 
const ON_3dPointStartPoint () const
 No checking for valid vertex. More...
 
ON_XMeshVertexStartVertex ()
 
const ON_XMeshVertexStartVertex () const
 
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_XMeshEdgeEdge ()
 
const ON_XMeshEdgeEdge () const
 
ON_XMeshEventEvent (int xid)
 
const ON_XMeshEventEvent (int xid) const
 
int EventCount () const
 Look through the event list. More...
 
ON_XMeshFaceFace ()
 
const ON_XMeshFaceFace () const
 
const ON_XMeshEventFindEvent (const ON_XMeshComponent *pC) const
 
ON_XMeshEventFindEvent (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_XMeshVertexVertex ()
 Cast. More...
 
const ON_XMeshVertexVertex () const
 

Friends

class ON_XMesh
 
class ON_XMeshEdgeIterator
 
class ON_XMeshEdgePool
 
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_XMeshComponentoperator= (const ON_XMeshComponent &src)
 Not implemented. More...
 
- Protected Attributes inherited from ON_XMeshComponent
bool m_bIsValid
 
const ON_XMeshm_pM
 used by fixed pool stuff More...
 
eXMeshPoolStatus m_status
 
ON_XMeshEventListm_X
 events not managed here More...
 

Constructor & Destructor Documentation

◆ ON_XMeshEdge()

ON_XMeshEdge::ON_XMeshEdge ( ON_XMeshVertex pV0,
ON_XMeshVertex pV1 
)

◆ ~ON_XMeshEdge()

ON_XMeshEdge::~ON_XMeshEdge ( )

Member Function Documentation

◆ ClosestPointToLine()

bool ON_XMeshEdge::ClosestPointToLine ( const ON_3dPoint P,
double *  t 
) const

Finds parameter on the infinite line. Lexorders points to guarantee answer independent of line direction.

◆ CreateComponentString()

void ON_XMeshEdge::CreateComponentString ( ON_wString S) const
overridevirtual

Reimplemented from ON_XMeshComponent.

◆ Edges() [1/2]

void ON_XMeshEdge::Edges ( ON_SimpleArray< const ON_XMeshEdge * > &  E) const
overridevirtual

Implements ON_XMeshComponent.

◆ Edges() [2/2]

void ON_XMeshEdge::Edges ( ON_SimpleArray< ON_XMeshEdge * > &  E)
overridevirtual

Implements ON_XMeshComponent.

◆ EndPoint()

const ON_3dPoint& ON_XMeshEdge::EndPoint ( ) const

No checking for valid vertex.

◆ EndVertex() [1/2]

ON_XMeshVertex* ON_XMeshEdge::EndVertex ( )

◆ EndVertex() [2/2]

const ON_XMeshVertex* ON_XMeshEdge::EndVertex ( ) const

◆ Face() [1/2]

ON_XMeshFace* ON_XMeshEdge::Face ( int  fid)

◆ Face() [2/2]

const ON_XMeshFace* ON_XMeshEdge::Face ( int  fid) const

◆ FaceCount()

int ON_XMeshEdge::FaceCount ( ) const

◆ Faces() [1/2]

void ON_XMeshEdge::Faces ( ON_SimpleArray< const ON_XMeshFace * > &  Faces) const
overridevirtual

Appends to array.

Implements ON_XMeshComponent.

◆ Faces() [2/2]

void ON_XMeshEdge::Faces ( ON_SimpleArray< ON_XMeshFace * > &  Faces)
overridevirtual

Appends to array.

Implements ON_XMeshComponent.

◆ IsDegenerate()

bool ON_XMeshEdge::IsDegenerate ( ) const

◆ IsValid()

bool ON_XMeshEdge::IsValid ( ) const
overridevirtual

Reimplemented from ON_XMeshComponent.

◆ MidPoint()

ON_3dPoint ON_XMeshEdge::MidPoint ( ) const

No checking for valid vertex.

◆ PointAt()

ON_3dPoint ON_XMeshEdge::PointAt ( double  t) const

◆ StartPoint()

const ON_3dPoint& ON_XMeshEdge::StartPoint ( ) const

No checking for valid vertex.

◆ StartVertex() [1/2]

ON_XMeshVertex* ON_XMeshEdge::StartVertex ( )

◆ StartVertex() [2/2]

const ON_XMeshVertex* ON_XMeshEdge::StartVertex ( ) const

◆ Vertices() [1/2]

void ON_XMeshEdge::Vertices ( ON_SimpleArray< const ON_XMeshVertex * > &  V) const
overridevirtual

Implements ON_XMeshComponent.

◆ Vertices() [2/2]

void ON_XMeshEdge::Vertices ( ON_SimpleArray< ON_XMeshVertex * > &  Vertices)
overridevirtual

Whatever it is, what are the components that involve it?

Implements ON_XMeshComponent.

Friends And Related Function Documentation

◆ ON_XMesh

friend class ON_XMesh
friend

◆ ON_XMeshEdgeIterator

friend class ON_XMeshEdgeIterator
friend

◆ ON_XMeshEdgePool

friend class ON_XMeshEdgePool
friend

◆ ON_XMeshIntersector

friend class ON_XMeshIntersector
friend