CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FacetModeler::VertexSurfData Class Reference

#include <FMMdlVertexSurfData.h>

Inheritance diagram for FacetModeler::VertexSurfData:
FacetModeler::Entity

Public Member Functions

 VertexSurfData ()
 
 VertexSurfData (VertexSurfData *pVSD)
 
 VertexSurfData (Surface *pSurface, VertexSurfData *pNextSurfData)
 
VertexSurfDataclone () const
 
Surfacesurface () const
 
VertexSurfDatanext () const
 
const OdGeVector3d normal () const
 
void setNormal (const OdGeVector3d &n)
 
OdGeVector3d normal (const Vertex &atV, const Face &atF) const
 
bool at (const Surface *pSurface) const
 
void setNext (VertexSurfData *pVsd)
 
void setSurface (Surface *s)
 
 ~VertexSurfData ()
 
- Public Member Functions inherited from FacetModeler::Entity
 Entity ()
 
 Entity (const Entity &ent)
 
Entityoperator= (const Entity &entity)
 
OdUInt32 flags () const
 
void setFlags (OdUInt32 iFlags)
 
bool isFlagOn (OdUInt32 iFlag) const
 
void setIsFlagOn (OdUInt32 iFlag, bool bOn)
 
TagType tag () const
 
void setTag (TagType nTag)
 
virtual ~Entity ()
 

Detailed Description

Represents facet body vertex surface data objects.

Definition at line 35 of file FMMdlVertexSurfData.h.

Constructor & Destructor Documentation

◆ VertexSurfData() [1/3]

FacetModeler::VertexSurfData::VertexSurfData ( )

Default constructor.

◆ VertexSurfData() [2/3]

FacetModeler::VertexSurfData::VertexSurfData ( VertexSurfData pVSD)

Constructor. Creates new vertex surface data and appends it to the list after the specified one.

Parameters
pVSD[in] The object from which to copy data.

◆ VertexSurfData() [3/3]

FacetModeler::VertexSurfData::VertexSurfData ( Surface pSurface,
VertexSurfData pNextSurfData 
)

Constructor. Creates vertex surface data with the specified surface and appends it to the list after the specified one.

Parameters
pSurface[in] The surface for which the object is created.
pNextSurfData[in] Pointer to the next object.

◆ ~VertexSurfData()

FacetModeler::VertexSurfData::~VertexSurfData ( )

Destructor.

Member Function Documentation

◆ at()

bool FacetModeler::VertexSurfData::at ( const Surface pSurface) const

Checks if there is any data in the linked list that refers to the specified surface.

Parameters
pSurface[in] Surface for checking.
Returns
true if there is at least one VertexSurfData object that relates to the specified surface, false otherwise.

◆ clone()

VertexSurfData * FacetModeler::VertexSurfData::clone ( ) const

Creates a new VertexSurfData object from this object.

Returns
Pointer to newly cloned vertex surface data.

◆ next()

VertexSurfData * FacetModeler::VertexSurfData::next ( ) const

Gets the next VertexSurfData pointer.

Returns
Pointer to the next VertexSurfData.

◆ normal() [1/2]

const OdGeVector3d FacetModeler::VertexSurfData::normal ( ) const

Gets the normal vector of this VertexSurfData.

Returns
Normal vector as an OdGeVector3d object.

◆ normal() [2/2]

OdGeVector3d FacetModeler::VertexSurfData::normal ( const Vertex atV,
const Face atF 
) const

Gets the normal at the specified vertex on the specified face.

Parameters
atV[in] The vertex at which the normal is computed.
atF[in] The face for which the normal is computed.
Returns
Normal at the specified vertex on the specified face.

◆ setNext()

void FacetModeler::VertexSurfData::setNext ( VertexSurfData pVsd)

Sets the next surface data pointer.

Parameters
pVsd[in] Next surface data pointer to set.

◆ setNormal()

void FacetModeler::VertexSurfData::setNormal ( const OdGeVector3d n)

Sets the normal vector of this VertexSurfData.

Parameters
n[in] data normal.

◆ setSurface()

void FacetModeler::VertexSurfData::setSurface ( Surface s)

Sets the surface.

Parameters
s[in] Surface pointer to set.

◆ surface()

Surface * FacetModeler::VertexSurfData::surface ( ) const

Gets the assigned surface pointer.

Returns
Assigned surface pointer.

The documentation for this class was generated from the following file: