# How does Open CASCADE handle Co-ordinate systems?

Hi, I'm currently developing a software using Open CASCADE. the softwae generates points radomaly using a radom generater in VC++, these points are handled by Open CASCADE using the transformation function to display a vertx relative to a defaul co-ordinates. the only thing I need to understand is gp_dir(?,?,?) exp. what is gp_dir(0,0,1), or can someone provide me with a list of each possiblity?

Can anyone help me with this please?

Fiona

A gp_Dir is a normalised (i.e. unit) vector that describes a direction. So the instance gp_Dir (0., 0., 1.) represents a unit vector effectively pointing upwards (positive Z) from the XY plane. Find the gp_Dir.cdl (or the doxygen help) for a full description of the class.

Pete

Fiona

A gp_Dir is a normalised (i.e. unit) vector that describes a direction. So the instance gp_Dir (0., 0., 1.) represents a unit vector effectively pointing upwards (positive Z) from the XY plane. Find the gp_Dir.cdl (or the doxygen help) for a full description of the class.

Pete

Fiona

A gp_Dir is a normalised (i.e. unit) vector that describes a direction. So the instance gp_Dir (0., 0., 1.) represents a unit vector effectively pointing upwards (positive Z) from the XY plane. Find the gp_Dir.cdl (or the doxygen help) for a full description of the class.

Pete

Hi Pete

Thank you very much.I will check the gp_Dir.cdl file.

Fiona

Sorry about the triple post, but this was due to browser exception (I'm well aware of how long it takes to post normally ,grin>)

Pete

Sorry about the triple post, but this was due to browser exception (I'm well aware of how long it takes to post normally ,grin>)

Pete