odgiworldgeometrydumper:

ushmodeltransform
odgiworldgeometrydumper:

ushmodeltransform
there are two verisions of this method, one which takes in a odgematrix3d and one that takes in a odgevector3d. i have the one which take a matrix figured out, but don't know what i am expected to do with the one taking in a vector. i have not used. i figure i will need to make a matrix from the vector to push onto my stack, but am not that familuar with matrices, and therefore, do not know what to do.
any help would be appreciated.
steve
the method, taking a vector, pushes a matrix, performing transform from ocs to wcs (using arbitrary axis algorithm). if vector is n, this matrix can be obtained using odgematrix3d:

lanetoworld(n).
for example if you have custom entity drawing as circle, with center a, normal n, radius r, and center is specified in ocs of this circle, worlddraw can take form:
code:
odcustomcircle::worlddraw(odgiworlddraw* pwd)
{
assertreadenabled();
pwd->geometry().pushmodeltransform(n);
pwd->geometry().circle(a, r, odgevector3d::kzaxis);
pwd->geometry().popmodeltransform();
}
sincerely yours,
george udov