Blender V4.5
Freestyle::Interface0D Class Reference

#include <Interface0D.h>

Inherited by Freestyle::CurvePoint, Freestyle::SVertex, and Freestyle::ViewVertex.

Public Member Functions

 Interface0D ()
virtual ~Interface0D ()
virtual string getExactTypeName () const
virtual real getX () const
virtual real getY () const
virtual real getZ () const
virtual Geometry::Vec3r getPoint3D () const
virtual real getProjectedX () const
virtual real getProjectedY () const
virtual real getProjectedZ () const
virtual Geometry::Vec2r getPoint2D () const
virtual FEdge * getFEdge (Interface0D &)
virtual Id getId () const
virtual Nature::VertexNature getNature () const
virtual SVertex * castToSVertex ()
virtual ViewVertex * castToViewVertex ()
virtual NonTVertex * castToNonTVertex ()
virtual TVertex * castToTVertex ()

Detailed Description

Base class for any 0D element.

Definition at line 41 of file Interface0D.h.

Constructor & Destructor Documentation

◆ Interface0D()

Freestyle::Interface0D::Interface0D ( )
inline

Default constructor

Definition at line 44 of file Interface0D.h.

Referenced by Freestyle::CurvePoint::getFEdge(), getFEdge(), Freestyle::SVertex::getFEdge(), and Interface0D_init().

◆ ~Interface0D()

virtual Freestyle::Interface0D::~Interface0D ( )
inlinevirtual

Destructor

Definition at line 47 of file Interface0D.h.

Member Function Documentation

◆ castToNonTVertex()

NonTVertex * Freestyle::Interface0D::castToNonTVertex ( )
virtual

Cast the Interface0D in NonTVertex if it can be.

Reimplemented in Freestyle::CurvePoint, Freestyle::NonTVertex, and Freestyle::SVertex.

Definition at line 97 of file Interface0D.cpp.

Referenced by Freestyle::CurvePoint::castToNonTVertex().

◆ castToSVertex()

SVertex * Freestyle::Interface0D::castToSVertex ( )
virtual

Cast the Interface0D in SVertex if it can be.

Reimplemented in Freestyle::CurvePoint, Freestyle::NonTVertex, and Freestyle::SVertex.

Definition at line 85 of file Interface0D.cpp.

Referenced by Freestyle::CurvePoint::castToSVertex().

◆ castToTVertex()

TVertex * Freestyle::Interface0D::castToTVertex ( )
virtual

Cast the Interface0D in TVertex if it can be.

Reimplemented in Freestyle::CurvePoint, Freestyle::SVertex, and Freestyle::TVertex.

Definition at line 103 of file Interface0D.cpp.

Referenced by Freestyle::CurvePoint::castToTVertex().

◆ castToViewVertex()

ViewVertex * Freestyle::Interface0D::castToViewVertex ( )
virtual

◆ getExactTypeName()

virtual string Freestyle::Interface0D::getExactTypeName ( ) const
inlinevirtual

◆ getFEdge()

FEdge * Freestyle::Interface0D::getFEdge ( Interface0D & )
virtual

◆ getId()

◆ getNature()

Nature::VertexNature Freestyle::Interface0D::getNature ( ) const
virtual

Returns the nature of the point.

Reimplemented in Freestyle::CurvePoint, Freestyle::SVertex, and Freestyle::ViewVertex.

Definition at line 79 of file Interface0D.cpp.

Referenced by Interface0D_nature_get().

◆ getPoint2D()

Geometry::Vec2r Freestyle::Interface0D::getPoint2D ( ) const
virtual

◆ getPoint3D()

Geometry::Vec3r Freestyle::Interface0D::getPoint3D ( ) const
virtual

Returns the 3D point.

Reimplemented in Freestyle::CurvePoint, Freestyle::NonTVertex, Freestyle::SVertex, and Freestyle::TVertex.

Definition at line 37 of file Interface0D.cpp.

Referenced by Interface0D_point_3d_get().

◆ getProjectedX()

◆ getProjectedY()

◆ getProjectedZ()

real Freestyle::Interface0D::getProjectedZ ( ) const
virtual

Returns the 2D z coordinate of the point.

Reimplemented in Freestyle::CurvePoint, Freestyle::NonTVertex, Freestyle::SVertex, and Freestyle::TVertex.

Definition at line 55 of file Interface0D.cpp.

Referenced by Interface0D_projected_z_get(), and Freestyle::Functions0D::GetProjectedZF0D::operator()().

◆ getX()

real Freestyle::Interface0D::getX ( ) const
virtual

◆ getY()

real Freestyle::Interface0D::getY ( ) const
virtual

◆ getZ()

real Freestyle::Interface0D::getZ ( ) const
virtual

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