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

#include <ObjectCreator.hh>

Public Member Functions

float SphereFunc (Sphere s, Point p)

Static Public Member Functions

static Point Scale (Point p1, Point p2, float p)
static Point Middle (Point p1, Point p2)
static Vector Dir (Point p1, Point p2)
static Point Dist (Point p, Vector v, float dist)
static Point Dist (Point p, Point p2, float dist)
static Point Plane2d (Point2d p, Plane pl)
static Point2d Rot (float angle_in_rad, float dist)
static Point Curve (const CurveIn3d &curve, float x)
static Point Intersect (Line l, Sphere s)
static Point Intersect (Line l, Function< Point, float > &func)
template<class T>
static Point Intersect (Line l, float(*func)(T t, Point p), T t)
static Triangle Tri (Point p, Point p2, Point p3)
static Triangle Tri (Point p, Vector v1, Vector v2)
static Triangle Tri (Line l, Point p)
static Line Ln (Point p, Point p2)
static Line Ln (Point p, Vector v)
static PointList PL (Triangle t)
static PointList PL (Line l)
static PointList PL (Point p)
static void AppendP (PointList &p, Point p1)
static void AppendL (LineList &l, Line l1)
template<class It>
static PointList PL (It beg, It end)
static PointList MovePL (const PointList &p, Vector v)
static LineList Lines (const PointList &p1, const PointList &p2)
static QuadList Quads (const PointList &p1, const PointList &p2)
static Quad Q (Point p1, Point p2, Point p3, Point p4)

Member Function Documentation

◆ AppendL()

void OC::ObjectCreator::AppendL ( LineList & l,
Line l1 )
static

◆ AppendP()

void OC::ObjectCreator::AppendP ( PointList & p,
Point p1 )
static

◆ Curve()

Point OC::ObjectCreator::Curve ( const CurveIn3d & curve,
float x )
static

◆ Dir()

Vector OC::ObjectCreator::Dir ( Point p1,
Point p2 )
static
Here is the caller graph for this function:

◆ Dist() [1/2]

Point OC::ObjectCreator::Dist ( Point p,
Point p2,
float dist )
static

◆ Dist() [2/2]

Point OC::ObjectCreator::Dist ( Point p,
Vector v,
float dist )
static
Here is the caller graph for this function:

◆ Intersect() [1/3]

template<class T>
Point OC::ObjectCreator::Intersect ( Line l,
float(* func )(T t, Point p),
T t )
static

◆ Intersect() [2/3]

Point OC::ObjectCreator::Intersect ( Line l,
Function< Point, float > & func )
static

◆ Intersect() [3/3]

Point OC::ObjectCreator::Intersect ( Line l,
Sphere s )
static
Here is the caller graph for this function:

◆ Lines()

LineList OC::ObjectCreator::Lines ( const PointList & p1,
const PointList & p2 )
static

◆ Ln() [1/2]

Line OC::ObjectCreator::Ln ( Point p,
Point p2 )
static
Here is the caller graph for this function:

◆ Ln() [2/2]

Line OC::ObjectCreator::Ln ( Point p,
Vector v )
static

◆ Middle()

Point OC::ObjectCreator::Middle ( Point p1,
Point p2 )
static

◆ MovePL()

PointList OC::ObjectCreator::MovePL ( const PointList & p,
Vector v )
static

◆ PL() [1/4]

template<class It>
PointList OC::ObjectCreator::PL ( It beg,
It end )
static

◆ PL() [2/4]

PointList OC::ObjectCreator::PL ( Line l)
static

◆ PL() [3/4]

PointList OC::ObjectCreator::PL ( Point p)
static

◆ PL() [4/4]

PointList OC::ObjectCreator::PL ( Triangle t)
static

◆ Plane2d()

Point OC::ObjectCreator::Plane2d ( Point2d p,
Plane pl )
static

◆ Q()

Quad OC::ObjectCreator::Q ( Point p1,
Point p2,
Point p3,
Point p4 )
static
Here is the caller graph for this function:

◆ Quads()

QuadList OC::ObjectCreator::Quads ( const PointList & p1,
const PointList & p2 )
static

◆ Rot()

Point2d OC::ObjectCreator::Rot ( float angle_in_rad,
float dist )
static

◆ Scale()

Point OC::ObjectCreator::Scale ( Point p1,
Point p2,
float p )
static
Here is the caller graph for this function:

◆ SphereFunc()

float OC::ObjectCreator::SphereFunc ( Sphere s,
Point p )

◆ Tri() [1/3]

Triangle OC::ObjectCreator::Tri ( Line l,
Point p )
static

◆ Tri() [2/3]

Triangle OC::ObjectCreator::Tri ( Point p,
Point p2,
Point p3 )
static

◆ Tri() [3/3]

Triangle OC::ObjectCreator::Tri ( Point p,
Vector v1,
Vector v2 )
static

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