Mon, 08/06/2007 - 10:09
Forums:
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?
Mon, 08/06/2007 - 14:10
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
Mon, 08/06/2007 - 14:17
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
Mon, 08/06/2007 - 14:20
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
Mon, 08/06/2007 - 14:39
Hi Pete
Thank you very much.I will check the gp_Dir.cdl file.
Fiona
Mon, 08/06/2007 - 14:40
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
Mon, 08/06/2007 - 14:43
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
Mon, 08/06/2007 - 14:48
Yea I know. I was about to send the reply again if I didn't see your reply just now :-)
Fiona