GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::CurveApi Class Reference

#include <GameApi.hh>

Public Member Functions

IMPORT CurveApi (Env &e)
IMPORT C line (PT p1, PT p2)
IMPORT C circle_xy (PT center, float r)
IMPORT C circle_xz (PT center, float r)
IMPORT C circle_xy_wave (float start_r, float end_r, WV wave, float length)
IMPORT C linear (std::vector< PT > vec)
IMPORT C bezier (std::vector< PT > vec)
IMPORT C scale (C curve, float mx, float my, float mz)
IMPORT C trans (C curve, float dx, float dy, float dz)
IMPORT C compose (std::vector< C > vec)
IMPORT C change_length (C curve, float new_length)
IMPORT C split (C orig_curve, float start_var, float end_var)
IMPORT PA curve_product (C c1, C c2, PT c2_center)
IMPORT P patch_sample (PA patch, int sx, int sy)
IMPORT C x_curve (PA patch, float y)
IMPORT C y_curve (PA patch, float x)
IMPORT PT pos (C curve, float p)
IMPORT PTS sample (C input_curve, int num_samples)
IMPORT LI to_lines (C curve, int num_lines)
IMPORT CG curve_group_from_lines (LI li)
IMPORT LI lines_from_curve_group (CG curvegroup, int split)
IMPORT CPP xy_sum ()
IMPORT CPP xy_sum2 (float xmult, float ymult, float zmult)

Constructor & Destructor Documentation

◆ CurveApi()

GameApi::CurveApi::CurveApi ( Env & e)

Member Function Documentation

◆ bezier()

EXPORT GameApi::C GameApi::CurveApi::bezier ( std::vector< PT > vec)
Here is the caller graph for this function:

◆ change_length()

EXPORT GameApi::C GameApi::CurveApi::change_length ( C curve,
float new_length )
Here is the caller graph for this function:

◆ circle_xy()

EXPORT GameApi::C GameApi::CurveApi::circle_xy ( PT center,
float r )
Here is the caller graph for this function:

◆ circle_xy_wave()

EXPORT GameApi::C GameApi::CurveApi::circle_xy_wave ( float start_r,
float end_r,
WV wave,
float length )
Here is the caller graph for this function:

◆ circle_xz()

EXPORT GameApi::C GameApi::CurveApi::circle_xz ( PT center,
float r )
Here is the caller graph for this function:

◆ compose()

EXPORT GameApi::C GameApi::CurveApi::compose ( std::vector< C > vec)
Here is the caller graph for this function:

◆ curve_group_from_lines()

GameApi::CG GameApi::CurveApi::curve_group_from_lines ( LI li)
Here is the caller graph for this function:

◆ curve_product()

EXPORT GameApi::PA GameApi::CurveApi::curve_product ( C c1,
C c2,
PT c2_center )
Here is the caller graph for this function:

◆ line()

EXPORT GameApi::C GameApi::CurveApi::line ( PT p1,
PT p2 )
Here is the caller graph for this function:

◆ linear()

EXPORT GameApi::C GameApi::CurveApi::linear ( std::vector< PT > vec)
Here is the caller graph for this function:

◆ lines_from_curve_group()

GameApi::LI GameApi::CurveApi::lines_from_curve_group ( CG curvegroup,
int split )
Here is the caller graph for this function:

◆ patch_sample()

EXPORT GameApi::P GameApi::CurveApi::patch_sample ( PA patch,
int sx,
int sy )
Here is the caller graph for this function:

◆ pos()

EXPORT GameApi::PT GameApi::CurveApi::pos ( C curve,
float p )

◆ sample()

EXPORT GameApi::PTS GameApi::CurveApi::sample ( C input_curve,
int num_samples )
Here is the caller graph for this function:

◆ scale()

EXPORT GameApi::C GameApi::CurveApi::scale ( C curve,
float mx,
float my,
float mz )
Here is the caller graph for this function:

◆ split()

EXPORT GameApi::C GameApi::CurveApi::split ( C orig_curve,
float start_var,
float end_var )
Here is the caller graph for this function:

◆ to_lines()

EXPORT GameApi::LI GameApi::CurveApi::to_lines ( C curve,
int num_lines )
Here is the caller graph for this function:

◆ trans()

EXPORT GameApi::C GameApi::CurveApi::trans ( C curve,
float dx,
float dy,
float dz )
Here is the caller graph for this function:

◆ x_curve()

EXPORT GameApi::C GameApi::CurveApi::x_curve ( PA patch,
float y )
Here is the caller graph for this function:

◆ xy_sum()

EXPORT GameApi::CPP GameApi::CurveApi::xy_sum ( )
Here is the caller graph for this function:

◆ xy_sum2()

EXPORT GameApi::CPP GameApi::CurveApi::xy_sum2 ( float xmult,
float ymult,
float zmult )
Here is the caller graph for this function:

◆ y_curve()

EXPORT GameApi::C GameApi::CurveApi::y_curve ( PA patch,
float x )
Here is the caller graph for this function:

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