EggCurve

from panda3d.egg import EggCurve
class EggCurve

Bases: EggPrimitive

A parametric curve of some kind. See EggNurbsCurve.

Inheritance diagram

Inheritance diagram of EggCurve

CTHpr = 2
CTNone = 0
CTT = 3
CTXyz = 1
CT_hpr = 2
CT_none = 0
CT_t = 3
CT_xyz = 1
__init__(*args, **kwargs)
assign()

C++ Interface: assign(const EggCurve self, const EggCurve copy)

/**

*/

getClassType()

C++ Interface: get_class_type()

getCurveType()

C++ Interface: get_curve_type(EggCurve self)

/**
  • Returns the indicated type of the curve.

*/

getSubdiv()

C++ Interface: get_subdiv(EggCurve self)

/**
  • Returns the requested number of subdivisions, or 0 if no particular

  • subdivisions have been requested.

*/

get_class_type()

C++ Interface: get_class_type()

get_curve_type()

C++ Interface: get_curve_type(EggCurve self)

/**
  • Returns the indicated type of the curve.

*/

get_subdiv()

C++ Interface: get_subdiv(EggCurve self)

/**
  • Returns the requested number of subdivisions, or 0 if no particular

  • subdivisions have been requested.

*/

setCurveType()

C++ Interface: set_curve_type(const EggCurve self, int type)

/**
  • Sets the type of the curve. This is primarily used as a hint to any code

  • that may need to deal with this curve.

*/

setSubdiv()

C++ Interface: set_subdiv(const EggCurve self, int subdiv)

/**
  • Sets the number of subdivisions that will be requested across the curve.

  • (This doesn’t necessary guarantee that this number of subdivisions will be

  • made; it’s just a hint to any curve renderer or quick tesselator.) Set the

  • number to 0 to disable the hint.

*/

set_curve_type()

C++ Interface: set_curve_type(const EggCurve self, int type)

/**
  • Sets the type of the curve. This is primarily used as a hint to any code

  • that may need to deal with this curve.

*/

set_subdiv()

C++ Interface: set_subdiv(const EggCurve self, int subdiv)

/**
  • Sets the number of subdivisions that will be requested across the curve.

  • (This doesn’t necessary guarantee that this number of subdivisions will be

  • made; it’s just a hint to any curve renderer or quick tesselator.) Set the

  • number to 0 to disable the hint.

*/

stringCurveType()

C++ Interface: string_curve_type(str string)

/**
  • Returns the CurveType value associated with the given string

  • representation, or CT_invalid if the string does not match any known

  • CurveType value.

*/

string_curve_type()

C++ Interface: string_curve_type(str string)

/**
  • Returns the CurveType value associated with the given string

  • representation, or CT_invalid if the string does not match any known

  • CurveType value.

*/