plastimatch
Loading...
Searching...
No Matches
raw_pointset.cxx File Reference
#include "plmbase_config.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "file_util.h"
#include "path_util.h"
#include "plm_math.h"
#include "print_and_exit.h"
#include "raw_pointset.h"

Functions

Raw_pointsetpointset_create (void)
 
void pointset_destroy (Raw_pointset *ps)
 
void pointset_add_point (Raw_pointset *ps, float lm[3])
 
void pointset_add_point_noadjust (Raw_pointset *ps, float lm[3])
 
static Raw_pointsetpointset_load_fcsv (const char *fn)
 
static Raw_pointsetpointset_load_txt (const char *fn)
 
Raw_pointsetpointset_load (const char *fn)
 
static void pointset_save_txt (Raw_pointset *ps, const char *fn)
 
static void pointset_save_fcsv (Raw_pointset *ps, const char *fn)
 
void pointset_save_fcsv_by_cluster (Raw_pointset *ps, int *clust_id, int which_cluster, const char *fn)
 
void pointset_save (Raw_pointset *ps, const char *fn)
 
void pointset_resize (Raw_pointset *ps, int new_size)
 
void pointset_debug (Raw_pointset *ps)
 

Function Documentation

◆ pointset_add_point()

void pointset_add_point ( Raw_pointset * ps,
float lm[3] )

◆ pointset_add_point_noadjust()

void pointset_add_point_noadjust ( Raw_pointset * ps,
float lm[3] )

◆ pointset_create()

Raw_pointset * pointset_create ( void )

◆ pointset_debug()

void pointset_debug ( Raw_pointset * ps)

◆ pointset_destroy()

void pointset_destroy ( Raw_pointset * ps)

◆ pointset_load()

Raw_pointset * pointset_load ( const char * fn)

◆ pointset_load_fcsv()

static Raw_pointset * pointset_load_fcsv ( const char * fn)
static

◆ pointset_load_txt()

static Raw_pointset * pointset_load_txt ( const char * fn)
static

◆ pointset_resize()

void pointset_resize ( Raw_pointset * ps,
int new_size )

◆ pointset_save()

void pointset_save ( Raw_pointset * ps,
const char * fn )

◆ pointset_save_fcsv()

static void pointset_save_fcsv ( Raw_pointset * ps,
const char * fn )
static

◆ pointset_save_fcsv_by_cluster()

void pointset_save_fcsv_by_cluster ( Raw_pointset * ps,
int * clust_id,
int which_cluster,
const char * fn )

◆ pointset_save_txt()

static void pointset_save_txt ( Raw_pointset * ps,
const char * fn )
static