body_hash
stringlengths
64
64
body
stringlengths
23
109k
docstring
stringlengths
1
57k
path
stringlengths
4
198
name
stringlengths
1
115
repository_name
stringlengths
7
111
repository_stars
float64
0
191k
lang
stringclasses
1 value
body_without_docstring
stringlengths
14
108k
unified
stringlengths
45
133k
b3d47d5582c3a974991609ed48cc81f881d4819bcbfee169c43111afa3219be5
def process_mined_transactions(self): 'get all mined transactions at block and update alltx df' block_df = pd.DataFrame() mined_block_num = (self.process_block - 3) block_obj = web3.eth.getBlock(mined_block_num, True) miner = block_obj.miner tx_hash_list = [] for transaction in block_obj.tra...
get all mined transactions at block and update alltx df
egs/egs_ref.py
process_mined_transactions
ethgasstation/ethgasstation-adaptive-oracle
47
python
def process_mined_transactions(self): block_df = pd.DataFrame() mined_block_num = (self.process_block - 3) block_obj = web3.eth.getBlock(mined_block_num, True) miner = block_obj.miner tx_hash_list = [] for transaction in block_obj.transactions: clean_tx = CleanTx(transaction, None, ...
def process_mined_transactions(self): block_df = pd.DataFrame() mined_block_num = (self.process_block - 3) block_obj = web3.eth.getBlock(mined_block_num, True) miner = block_obj.miner tx_hash_list = [] for transaction in block_obj.transactions: clean_tx = CleanTx(transaction, None, ...
3371d59d23cb1a49f0aea5947274363d58d29517ffb63263294996bff02ae746
def analyzetx_last100blocks(self): 'finds % of transactions mined at gas price over last 100 blocks' alltx = self.df block = self.process_block recent_blocks = alltx.loc[((alltx['block_mined'] > (block - 100)), ['block_mined', 'round_gp_10gwei'])].copy() hpower = recent_blocks.groupby('round_gp_10gw...
finds % of transactions mined at gas price over last 100 blocks
egs/egs_ref.py
analyzetx_last100blocks
ethgasstation/ethgasstation-adaptive-oracle
47
python
def analyzetx_last100blocks(self): alltx = self.df block = self.process_block recent_blocks = alltx.loc[((alltx['block_mined'] > (block - 100)), ['block_mined', 'round_gp_10gwei'])].copy() hpower = recent_blocks.groupby('round_gp_10gwei').count() hpower = hpower.rename(columns={'block_mined': '...
def analyzetx_last100blocks(self): alltx = self.df block = self.process_block recent_blocks = alltx.loc[((alltx['block_mined'] > (block - 100)), ['block_mined', 'round_gp_10gwei'])].copy() hpower = recent_blocks.groupby('round_gp_10gwei').count() hpower = hpower.rename(columns={'block_mined': '...
bfbba50e933b1f6c66ec7825ddb2e1804ad56814653135a6f8e4c09b0e746aa4
def update_txblock(self, txpool_block, blockdata, predictiontable, gprecs, nomine=None): '\n updates transactions at block with calc values from prediction table\n ' if txpool_block.empty: return block = self.process_block txpool_block = txpool_block.loc[(txpool_block['block_posted...
updates transactions at block with calc values from prediction table
egs/egs_ref.py
update_txblock
ethgasstation/ethgasstation-adaptive-oracle
47
python
def update_txblock(self, txpool_block, blockdata, predictiontable, gprecs, nomine=None): '\n \n ' if txpool_block.empty: return block = self.process_block txpool_block = txpool_block.loc[(txpool_block['block_posted'] == block)].copy() txpool_block = txpool_block[['block_posted'...
def update_txblock(self, txpool_block, blockdata, predictiontable, gprecs, nomine=None): '\n \n ' if txpool_block.empty: return block = self.process_block txpool_block = txpool_block.loc[(txpool_block['block_posted'] == block)].copy() txpool_block = txpool_block[['block_posted'...
bd226b2f615d4e2292f6ddee6b4444200061a2a0d6b444e507db8d72983106da
def write_to_sql(self, txpool): 'writes to sql, prevent buffer overflow errors' console.info('writing to mysql....this can take awhile') self.df.reset_index(inplace=True) length = len(self.df) chunks = int(np.ceil((length / 1000))) if (length < 1000): self.df.to_sql(con=engine, name='all...
writes to sql, prevent buffer overflow errors
egs/egs_ref.py
write_to_sql
ethgasstation/ethgasstation-adaptive-oracle
47
python
def write_to_sql(self, txpool): console.info('writing to mysql....this can take awhile') self.df.reset_index(inplace=True) length = len(self.df) chunks = int(np.ceil((length / 1000))) if (length < 1000): self.df.to_sql(con=engine, name='alltx', if_exists='replace') else: sta...
def write_to_sql(self, txpool): console.info('writing to mysql....this can take awhile') self.df.reset_index(inplace=True) length = len(self.df) chunks = int(np.ceil((length / 1000))) if (length < 1000): self.df.to_sql(con=engine, name='alltx', if_exists='replace') else: sta...
91553fcaa6b7ca32139311a60cafc5f93cf662e7d0ccfc2bb2eca86cf550cf69
def prune(self, txpool): 'keep dataframes and databases from getting too big' deleteBlock_mined = (self.process_block - 1500) deleteBlock_posted = (self.process_block - 2500) self.df = self.df.loc[((self.df['block_mined'].isnull() & (self.df['block_posted'] > deleteBlock_posted)) | (self.df['block_mined...
keep dataframes and databases from getting too big
egs/egs_ref.py
prune
ethgasstation/ethgasstation-adaptive-oracle
47
python
def prune(self, txpool): deleteBlock_mined = (self.process_block - 1500) deleteBlock_posted = (self.process_block - 2500) self.df = self.df.loc[((self.df['block_mined'].isnull() & (self.df['block_posted'] > deleteBlock_posted)) | (self.df['block_mined'] > deleteBlock_mined))] if txpool.got_txpool: ...
def prune(self, txpool): deleteBlock_mined = (self.process_block - 1500) deleteBlock_posted = (self.process_block - 2500) self.df = self.df.loc[((self.df['block_mined'].isnull() & (self.df['block_posted'] > deleteBlock_posted)) | (self.df['block_mined'] > deleteBlock_mined))] if txpool.got_txpool: ...
6f0d9871c60177d203902ce3d356dc680c6599f30921df48fc80353f14ddda8d
def init_predictiontable(self): 'makes prediction table for number of blocks to confirmation' hashpower = self.blockdata.hashpower hpower = self.alltx.pctmined_gp_last100 txpool_by_gp = self.txpool.txpool_by_gp submitted_5mago = self.recentdf submitted_30mago = self.remotedf predictTable = m...
makes prediction table for number of blocks to confirmation
egs/egs_ref.py
init_predictiontable
ethgasstation/ethgasstation-adaptive-oracle
47
python
def init_predictiontable(self): hashpower = self.blockdata.hashpower hpower = self.alltx.pctmined_gp_last100 txpool_by_gp = self.txpool.txpool_by_gp submitted_5mago = self.recentdf submitted_30mago = self.remotedf predictTable = make_gp_index() predictTable['hashpower_accepting'] = hash...
def init_predictiontable(self): hashpower = self.blockdata.hashpower hpower = self.alltx.pctmined_gp_last100 txpool_by_gp = self.txpool.txpool_by_gp submitted_5mago = self.recentdf submitted_30mago = self.remotedf predictTable = make_gp_index() predictTable['hashpower_accepting'] = hash...
baffd82e1c778d0a9583d7f7ca2e2ef3776d0dd04bf1b169f5cb2989567a2a8f
def get_predicted_wait(self, gpreport, nomine): 'make wait time based on the data' predictTable = self.predictiondf avg_timemined = self.blockdata.block_time gprecs = gpreport.gprecs predictTable['average'] = gprecs['average'] predictTable['safelow'] = gprecs['safeLow'] predictTable['nomine'...
make wait time based on the data
egs/egs_ref.py
get_predicted_wait
ethgasstation/ethgasstation-adaptive-oracle
47
python
def get_predicted_wait(self, gpreport, nomine): predictTable = self.predictiondf avg_timemined = self.blockdata.block_time gprecs = gpreport.gprecs predictTable['average'] = gprecs['average'] predictTable['safelow'] = gprecs['safeLow'] predictTable['nomine'] = nomine predictTable['avgdi...
def get_predicted_wait(self, gpreport, nomine): predictTable = self.predictiondf avg_timemined = self.blockdata.block_time gprecs = gpreport.gprecs predictTable['average'] = gprecs['average'] predictTable['safelow'] = gprecs['safeLow'] predictTable['nomine'] = nomine predictTable['avgdi...
d7d258f8e92f6f1a869523884e1c0bb20f1211de1f8216b7ef401592264210a0
def write_to_json(self, txpool): 'write json data unless txpool block empty' global exporter try: if ((not txpool.txpool_block.empty) & ('total_seen_5m' in self.predictiondf.columns)): self.predictiondf.reset_index(inplace=True, drop=False) self.predictiondf.rename(columns={'...
write json data unless txpool block empty
egs/egs_ref.py
write_to_json
ethgasstation/ethgasstation-adaptive-oracle
47
python
def write_to_json(self, txpool): global exporter try: if ((not txpool.txpool_block.empty) & ('total_seen_5m' in self.predictiondf.columns)): self.predictiondf.reset_index(inplace=True, drop=False) self.predictiondf.rename(columns={'index': 'gasprice'}, inplace=True) ...
def write_to_json(self, txpool): global exporter try: if ((not txpool.txpool_block.empty) & ('total_seen_5m' in self.predictiondf.columns)): self.predictiondf.reset_index(inplace=True, drop=False) self.predictiondf.rename(columns={'index': 'gasprice'}, inplace=True) ...
0be0191db9a859f1f4d7931286911323ac5e06642d742f647ba1652eae1804f3
def make_gasprice_report(self): 'processes block data and makes the gas price recommendations' prediction_table = self.predictiontable block_time = self.blockdata.block_time speed = self.blockdata.speed block = self.block if self.submitted_remote.safe: safelow = self.submitted_remote.saf...
processes block data and makes the gas price recommendations
egs/egs_ref.py
make_gasprice_report
ethgasstation/ethgasstation-adaptive-oracle
47
python
def make_gasprice_report(self): prediction_table = self.predictiontable block_time = self.blockdata.block_time speed = self.blockdata.speed block = self.block if self.submitted_remote.safe: safelow = self.submitted_remote.safe else: safelow = self.blockdata.safe if self....
def make_gasprice_report(self): prediction_table = self.predictiontable block_time = self.blockdata.block_time speed = self.blockdata.speed block = self.block if self.submitted_remote.safe: safelow = self.submitted_remote.safe else: safelow = self.blockdata.safe if self....
e26dc76f97216c9463e3f1a6c2be55cc24cd3342e42b71e96dc063893dcc0157
def write_to_json(self): 'write json data' global exporter try: self.gprecs['safeLow'] /= 10 self.gprecs['average'] /= 10 self.gprecs['fast'] /= 10 self.gprecs['fastest'] /= 10 print(self.gprecs) exporter.write_json('ethgasAPI', self.gprecs) except Excepti...
write json data
egs/egs_ref.py
write_to_json
ethgasstation/ethgasstation-adaptive-oracle
47
python
def write_to_json(self): global exporter try: self.gprecs['safeLow'] /= 10 self.gprecs['average'] /= 10 self.gprecs['fast'] /= 10 self.gprecs['fastest'] /= 10 print(self.gprecs) exporter.write_json('ethgasAPI', self.gprecs) except Exception as e: ...
def write_to_json(self): global exporter try: self.gprecs['safeLow'] /= 10 self.gprecs['average'] /= 10 self.gprecs['fast'] /= 10 self.gprecs['fastest'] /= 10 print(self.gprecs) exporter.write_json('ethgasAPI', self.gprecs) except Exception as e: ...
7ec74f411e81f441b4172acd7bd04772d037a2d71aa5a06f429890631c0ee5f4
def getbatch(tx_hashes): 'get tx objects and account nonces' submitted_block = pd.DataFrame() txs = TxBatch(web3) try: results = txs.batchRequest('eth_getTransactionByHash', tx_hashes) for (txhash, txobject) in results.items(): if (txobject is not None): clean...
get tx objects and account nonces
egs/egs_ref.py
getbatch
ethgasstation/ethgasstation-adaptive-oracle
47
python
def getbatch(tx_hashes): submitted_block = pd.DataFrame() txs = TxBatch(web3) try: results = txs.batchRequest('eth_getTransactionByHash', tx_hashes) for (txhash, txobject) in results.items(): if (txobject is not None): clean_tx = CleanTx(txobject, self.proces...
def getbatch(tx_hashes): submitted_block = pd.DataFrame() txs = TxBatch(web3) try: results = txs.batchRequest('eth_getTransactionByHash', tx_hashes) for (txhash, txobject) in results.items(): if (txobject is not None): clean_tx = CleanTx(txobject, self.proces...
78a6d90e039e8e947569b10da329da514a274cbd9136f5cf18816b6b77bd537e
def find_meta(*meta_file_parts, meta_key): '\n Extract __*meta*__ from meta_file\n ' meta_file = read(*meta_file_parts) meta_match = re.search('^__{}__ = [\'\\"]([^\'\\"]*)[\'\\"]'.format(meta_key), meta_file, re.M) if meta_match: return meta_match.group(1) raise RuntimeError('Unable t...
Extract __*meta*__ from meta_file
setup.py
find_meta
MinchinWeb/prjct
1
python
def find_meta(*meta_file_parts, meta_key): '\n \n ' meta_file = read(*meta_file_parts) meta_match = re.search('^__{}__ = [\'\\"]([^\'\\"]*)[\'\\"]'.format(meta_key), meta_file, re.M) if meta_match: return meta_match.group(1) raise RuntimeError('Unable to find __{}__ string.'.format(met...
def find_meta(*meta_file_parts, meta_key): '\n \n ' meta_file = read(*meta_file_parts) meta_match = re.search('^__{}__ = [\'\\"]([^\'\\"]*)[\'\\"]'.format(meta_key), meta_file, re.M) if meta_match: return meta_match.group(1) raise RuntimeError('Unable to find __{}__ string.'.format(met...
5718928e52d98c99ef76b6d5ea3e59090ad098b9711769555926f8e80d40c3e1
def read_requirements(*parts): "\n Given a requirements.txt (or similar style file), returns a list of\n requirements.\n Assumes anything after a single '#' on a line is a comment, and ignores\n empty lines.\n " requirements = [] for line in read(*parts).splitlines(): new_line = re.su...
Given a requirements.txt (or similar style file), returns a list of requirements. Assumes anything after a single '#' on a line is a comment, and ignores empty lines.
setup.py
read_requirements
MinchinWeb/prjct
1
python
def read_requirements(*parts): "\n Given a requirements.txt (or similar style file), returns a list of\n requirements.\n Assumes anything after a single '#' on a line is a comment, and ignores\n empty lines.\n " requirements = [] for line in read(*parts).splitlines(): new_line = re.su...
def read_requirements(*parts): "\n Given a requirements.txt (or similar style file), returns a list of\n requirements.\n Assumes anything after a single '#' on a line is a comment, and ignores\n empty lines.\n " requirements = [] for line in read(*parts).splitlines(): new_line = re.su...
536abf08a82e6af4e7e4bbf9a5b10952dcdd9320e5cd122cabc3b3144b5f9da0
def register_handle(handle, base_object): '\n Inserts the handle into the base object to\n prevent memory corruption in certain cases\n ' try: if base_object.IsKind('Standard_Transient'): base_object.thisHandle = handle base_object.thisown = False except: pas...
Inserts the handle into the base object to prevent memory corruption in certain cases
app/pythonocc/lib/OCC/BSplSLib.py
register_handle
dmcbrayer/lambda_converters
2
python
def register_handle(handle, base_object): '\n Inserts the handle into the base object to\n prevent memory corruption in certain cases\n ' try: if base_object.IsKind('Standard_Transient'): base_object.thisHandle = handle base_object.thisown = False except: pas...
def register_handle(handle, base_object): '\n Inserts the handle into the base object to\n prevent memory corruption in certain cases\n ' try: if base_object.IsKind('Standard_Transient'): base_object.thisHandle = handle base_object.thisown = False except: pas...
897b9ffab93f039157819758f35fdbbbaae3c7dbeed97387aa5d50d8ababb786
def bsplslib_RationalDerivative(*args): '\n * this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real...
* this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real & // Result Standard_Integer &) ;// Error Code ser...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_RationalDerivative
dmcbrayer/lambda_converters
2
python
def bsplslib_RationalDerivative(*args): '\n * this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real...
def bsplslib_RationalDerivative(*args): '\n * this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real...
b5cf23894d5baa40af20f0583efbc97fc77789a7d11a9ef1808160f7c97311b5
def bsplslib_D0(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_D0
dmcbrayer/lambda_converters
2
python
def bsplslib_D0(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
def bsplslib_D0(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
76e844e994f6b411819d140a2506bd4d8ca6d2be8ca5d6c14ba171f3fdf1d4c6
def bsplslib_D1(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_D1
dmcbrayer/lambda_converters
2
python
def bsplslib_D1(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
def bsplslib_D1(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
a9ca89c4ec690b7885c022ab538851e357b211606f1dec4a2759e687bd12872b
def bsplslib_D2(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_D2
dmcbrayer/lambda_converters
2
python
def bsplslib_D2(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
def bsplslib_D2(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
b151982ba0110de325b4bb1c19dc006fca52361600255f74e5a08d79956f6ffb
def bsplslib_D3(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_D3
dmcbrayer/lambda_converters
2
python
def bsplslib_D3(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
def bsplslib_D3(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param UK...
929e3cc13014bd1b8644950a9ac91cad614849065157780bf7607a65c5a32624
def bsplslib_DN(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Nu:\n :type Nu: int\n :param Nv:\n :type Nv: int\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :pa...
:param U: :type U: float :param V: :type V: float :param Nu: :type Nu: int :param Nv: :type Nv: int :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :p...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_DN
dmcbrayer/lambda_converters
2
python
def bsplslib_DN(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Nu:\n :type Nu: int\n :param Nv:\n :type Nv: int\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :pa...
def bsplslib_DN(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Nu:\n :type Nu: int\n :param Nv:\n :type Nv: int\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :pa...
b0723c0b2e8cad840c4e71d76274f9310a8d9b7cf32ba42bb109e09e740b2982
def bsplslib_Iso(*args): '\n * Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else).\n\n :param Param:\n :type Param: float\n :param IsU:\n :type IsU: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :ty...
* Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else). :param Param: :type Param: float :param IsU: :type IsU: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1O...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_Iso
dmcbrayer/lambda_converters
2
python
def bsplslib_Iso(*args): '\n * Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else).\n\n :param Param:\n :type Param: float\n :param IsU:\n :type IsU: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :ty...
def bsplslib_Iso(*args): '\n * Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else).\n\n :param Param:\n :type Param: float\n :param IsU:\n :type IsU: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :ty...
1a52473b37d0e3241e1a1f019454d2acca7ac2b5a681b399967bfda2c1b75a9b
def bsplslib_HomogeneousD0(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :ty...
* Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0 :param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TC...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_HomogeneousD0
dmcbrayer/lambda_converters
2
python
def bsplslib_HomogeneousD0(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :ty...
def bsplslib_HomogeneousD0(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :ty...
21e0a7a305bbd486ec57d38c4ffaffa1fd88d16ba3c2352ecd4d6d1536dd7c0f
def bsplslib_HomogeneousD1(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :ty...
* Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0 :param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TC...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_HomogeneousD1
dmcbrayer/lambda_converters
2
python
def bsplslib_HomogeneousD1(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :ty...
def bsplslib_HomogeneousD1(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :ty...
375d0d3fd7fa67ea70348088aabb3b5bab220e400bf8bb90c12258863e8ae1cd
def bsplslib_Reverse(*args): '\n * Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1)\n\n :param Poles:...
* Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1) :param Poles: :type Poles: TColgp_Array2OfPnt :param Last: ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_Reverse
dmcbrayer/lambda_converters
2
python
def bsplslib_Reverse(*args): '\n * Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1)\n\n :param Poles:...
def bsplslib_Reverse(*args): '\n * Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1)\n\n :param Poles:...
faeca693219b56245efa58ba31e0dd88e2e83735b2b13428884257846f60eac6
def bsplslib_IsRational(*args): '\n * Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used.\n\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param I...
* Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used. :param Weights: :type Weights: TColStd_Array2OfReal & :param I1: :type I1: int :param I2: :type I2: int :param J1: :type ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_IsRational
dmcbrayer/lambda_converters
2
python
def bsplslib_IsRational(*args): '\n * Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used.\n\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param I...
def bsplslib_IsRational(*args): '\n * Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used.\n\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param I...
93a69c9ccbf70d00b94e1770be4396845fb9b791aad93b4d46520ac0929b919a
def bsplslib_SetPoles(*args): '\n * Copy in FP the coordinates of the poles.\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Copy in FP the coordinates of the poles.\n\n ...
* Copy in FP the coordinates of the poles. :param Poles: :type Poles: TColgp_Array2OfPnt :param FP: :type FP: TColStd_Array1OfReal & :param UDirection: :type UDirection: bool :rtype: void * Copy in FP the coordinates of the poles. :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_A...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_SetPoles
dmcbrayer/lambda_converters
2
python
def bsplslib_SetPoles(*args): '\n * Copy in FP the coordinates of the poles.\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Copy in FP the coordinates of the poles.\n\n ...
def bsplslib_SetPoles(*args): '\n * Copy in FP the coordinates of the poles.\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Copy in FP the coordinates of the poles.\n\n ...
a97b0518922e5653cec3934b13e415c487edad87d4e91841c90cd1499233ff42
def bsplslib_GetPoles(*args): '\n * Get from FP the coordinates of the poles.\n\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Get from FP the coordinates of the poles.\n\...
* Get from FP the coordinates of the poles. :param FP: :type FP: TColStd_Array1OfReal & :param Poles: :type Poles: TColgp_Array2OfPnt :param UDirection: :type UDirection: bool :rtype: void * Get from FP the coordinates of the poles. :param FP: :type FP: TColStd_Array1OfReal & :param Poles: :type Poles: TColgp_Array2...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_GetPoles
dmcbrayer/lambda_converters
2
python
def bsplslib_GetPoles(*args): '\n * Get from FP the coordinates of the poles.\n\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Get from FP the coordinates of the poles.\n\...
def bsplslib_GetPoles(*args): '\n * Get from FP the coordinates of the poles.\n\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Get from FP the coordinates of the poles.\n\...
874e23d13a6c18335710837fa309e0514b220f5c3d6e198d527d647d1678ab52
def bsplslib_MovePoint(*args): "\n * Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for...
* Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for U don't enter (1,NbPoles) and (1,VNbPoles...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_MovePoint
dmcbrayer/lambda_converters
2
python
def bsplslib_MovePoint(*args): "\n * Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for...
def bsplslib_MovePoint(*args): "\n * Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for...
26c33e3613383c3510574120fc67dbbac2b20b300754460bd75dc02de0c9f183
def bsplslib_InsertKnots(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param Knots:...
:param UDirection: :type UDirection: bool :param Degree: :type Degree: int :param Periodic: :type Periodic: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1OfReal & :param Mults: :type Mults: TColStd_Array1OfInteger & :par...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_InsertKnots
dmcbrayer/lambda_converters
2
python
def bsplslib_InsertKnots(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param Knots:...
def bsplslib_InsertKnots(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :param Knots:...
a43b785e52ff612133cd50b0447e369ae13b65c68d592ebcb963af6c5c46f3c8
def bsplslib_RemoveKnot(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Index:\n :type Index: int\n :param Mult:\n :type Mult: int\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n ...
:param UDirection: :type UDirection: bool :param Index: :type Index: int :param Mult: :type Mult: int :param Degree: :type Degree: int :param Periodic: :type Periodic: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1OfReal...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_RemoveKnot
dmcbrayer/lambda_converters
2
python
def bsplslib_RemoveKnot(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Index:\n :type Index: int\n :param Mult:\n :type Mult: int\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n ...
def bsplslib_RemoveKnot(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Index:\n :type Index: int\n :param Mult:\n :type Mult: int\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n ...
5ed1f2d9e18fe1983b6c3c3fcef256f7a2c90e093741ce2cd6b633e9836becac
def bsplslib_IncreaseDegree(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param NewDegree:\n :type NewDegree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :typ...
:param UDirection: :type UDirection: bool :param Degree: :type Degree: int :param NewDegree: :type NewDegree: int :param Periodic: :type Periodic: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1OfReal & :param Mults: :typ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_IncreaseDegree
dmcbrayer/lambda_converters
2
python
def bsplslib_IncreaseDegree(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param NewDegree:\n :type NewDegree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :typ...
def bsplslib_IncreaseDegree(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param NewDegree:\n :type NewDegree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :typ...
1c28143a5f85d37e4dcc2cd448ae9efaf52bcec3d7094f26e6bddbf330c6439b
def bsplslib_Unperiodize(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Mults:\n :type Mults: TColStd_Array1OfInteger &\n :param Knots:\n :type Knots: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :p...
:param UDirection: :type UDirection: bool :param Degree: :type Degree: int :param Mults: :type Mults: TColStd_Array1OfInteger & :param Knots: :type Knots: TColStd_Array1OfReal & :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param NewMults: :type NewMults: TColStd_A...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_Unperiodize
dmcbrayer/lambda_converters
2
python
def bsplslib_Unperiodize(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Mults:\n :type Mults: TColStd_Array1OfInteger &\n :param Knots:\n :type Knots: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :p...
def bsplslib_Unperiodize(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Mults:\n :type Mults: TColStd_Array1OfInteger &\n :param Knots:\n :type Knots: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :p...
81c8545ce4d1ab36f4141c1a308631ae1f6f366c65bd47cbcfd97dbcaf2f4f86
def bsplslib_NoWeights(*args): '\n * Used as argument for a non rational curve.\n\n :rtype: TColStd_Array2OfReal\n\n ' return _BSplSLib.bsplslib_NoWeights(*args)
* Used as argument for a non rational curve. :rtype: TColStd_Array2OfReal
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_NoWeights
dmcbrayer/lambda_converters
2
python
def bsplslib_NoWeights(*args): '\n * Used as argument for a non rational curve.\n\n :rtype: TColStd_Array2OfReal\n\n ' return _BSplSLib.bsplslib_NoWeights(*args)
def bsplslib_NoWeights(*args): '\n * Used as argument for a non rational curve.\n\n :rtype: TColStd_Array2OfReal\n\n ' return _BSplSLib.bsplslib_NoWeights(*args)<|docstring|>* Used as argument for a non rational curve. :rtype: TColStd_Array2OfReal<|endoftext|>
1ecdd92dceca00a6db4b85fd587a18f59075451488b9391beec19e07890589fa
def bsplslib_BuildCache(*args): '\n * Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
* Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles :param U: :type U: float :param V: :type V: float :param USpanDomain: :type USpanDomain: float :param VSpanDomain: :type VSpanD...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_BuildCache
dmcbrayer/lambda_converters
2
python
def bsplslib_BuildCache(*args): '\n * Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
def bsplslib_BuildCache(*args): '\n * Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
8d1b9b902fcad10d65e7945390f81cf13aeb1ce48abb54e8f6b58d85b05342d1
def bsplslib_CacheD0(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
* Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter is where the Cache was constructed...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_CacheD0
dmcbrayer/lambda_converters
2
python
def bsplslib_CacheD0(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
def bsplslib_CacheD0(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
bfb9fd3114584cb3984f303ceaf908387010b1fd9155eae4699c956c6f8c29d6
def bsplslib_CoefsD0(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
* Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!! :param U: :type U: float :param V: :type V: float :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Point: :type Point: gp_Pnt :...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_CoefsD0
dmcbrayer/lambda_converters
2
python
def bsplslib_CoefsD0(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
def bsplslib_CoefsD0(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
50e8e6030427c5eca2475ba6c643df3f74eb2c24a7f14d2be2d32185fe869f4f
def bsplslib_CacheD1(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
* Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter is where the Cache was constructed...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_CacheD1
dmcbrayer/lambda_converters
2
python
def bsplslib_CacheD1(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
def bsplslib_CacheD1(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
d03adf3fa75e5edb4bbaae7ab2514a774cd4d8edd8c25dfb61a7fbb8bdf188cf
def bsplslib_CoefsD1(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
* Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!! :param U: :type U: float :param V: :type V: float :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Point: :type Point: gp_Pnt :...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_CoefsD1
dmcbrayer/lambda_converters
2
python
def bsplslib_CoefsD1(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
def bsplslib_CoefsD1(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
89a76717e74ad24478ba1164e34700042947a1b95e37c01a23505ebee89436db
def bsplslib_CacheD2(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
* Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter is where the Cache was constructed...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_CacheD2
dmcbrayer/lambda_converters
2
python
def bsplslib_CacheD2(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
def bsplslib_CacheD2(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CachePara...
66bef427e313f6e86b1db5df42eb5ae02ee8587fba64e4a00dc7e04e815a2632
def bsplslib_CoefsD2(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
* Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!! :param U: :type U: float :param V: :type V: float :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Point: :type Point: gp_Pnt :...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_CoefsD2
dmcbrayer/lambda_converters
2
python
def bsplslib_CoefsD2(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
def bsplslib_CoefsD2(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weight...
513473f2141533d690ef9fa56fb53c877b809169c97c45ab2c3d2f62ec035559
def bsplslib_PolesCoefficients(*args): '\n * Warning! To be used for BezierSurfaces ONLY!!!\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param CachePoles:\n :type CachePoles: TColgp_Array2OfPnt\n :rtype: void\n\n * Encapsulation of BuildCache to perform the evaluation of the Taylor ex...
* Warning! To be used for BezierSurfaces ONLY!!! :param Poles: :type Poles: TColgp_Array2OfPnt :param CachePoles: :type CachePoles: TColgp_Array2OfPnt :rtype: void * Encapsulation of BuildCache to perform the evaluation of the Taylor expansion for beziersurfaces at parameters 0.,0.; Warning: To be used for BezierSurf...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_PolesCoefficients
dmcbrayer/lambda_converters
2
python
def bsplslib_PolesCoefficients(*args): '\n * Warning! To be used for BezierSurfaces ONLY!!!\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param CachePoles:\n :type CachePoles: TColgp_Array2OfPnt\n :rtype: void\n\n * Encapsulation of BuildCache to perform the evaluation of the Taylor ex...
def bsplslib_PolesCoefficients(*args): '\n * Warning! To be used for BezierSurfaces ONLY!!!\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param CachePoles:\n :type CachePoles: TColgp_Array2OfPnt\n :rtype: void\n\n * Encapsulation of BuildCache to perform the evaluation of the Taylor ex...
996dc840fbbb57c5af1f42009dcfa63f5fe02e25b159ddd19709a0771579f09f
def bsplslib_Resolution(*args): '\n * Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D\n\n :param Poles...
* Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights:...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_Resolution
dmcbrayer/lambda_converters
2
python
def bsplslib_Resolution(*args): '\n * Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D\n\n :param Poles...
def bsplslib_Resolution(*args): '\n * Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D\n\n :param Poles...
9e801ee91df4041e4667cca7c71704c294d9438aabd8bafc1536a8498df45871
def bsplslib_Interpolate(*args): '\n * Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of...
* Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of VParameters must be the same. The length of...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_Interpolate
dmcbrayer/lambda_converters
2
python
def bsplslib_Interpolate(*args): '\n * Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of...
def bsplslib_Interpolate(*args): '\n * Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of...
d6a4a60d169c0985fe555b1f3541ba41e9191d7d7ef7a60d356b391cacbe3fba
def bsplslib_FunctionMultiply(*args): "\n * this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which...
* this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which is assumed to satisfy the following : 1. a(u,v) ...
app/pythonocc/lib/OCC/BSplSLib.py
bsplslib_FunctionMultiply
dmcbrayer/lambda_converters
2
python
def bsplslib_FunctionMultiply(*args): "\n * this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which...
def bsplslib_FunctionMultiply(*args): "\n * this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which...
59c72407a24514770d208608385efba96d93e5ce6ddd02685d8bdc1e571f8091
def RationalDerivative(*args): '\n * this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real & //...
* this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real & // Result Standard_Integer &) ;// Error Code ser...
app/pythonocc/lib/OCC/BSplSLib.py
RationalDerivative
dmcbrayer/lambda_converters
2
python
def RationalDerivative(*args): '\n * this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real & //...
def RationalDerivative(*args): '\n * this is a one dimensional function typedef void (*EvaluatorFunction) ( Standard_Integer // Derivative Request Standard_Real * // StartEnd[2][2] // [0] = U // [1] = V // [0] = start // [1] = end Standard_Real // UParameter Standard_Real // VParamerer Standard_Real & //...
4b0e9ceecc042c8cc0510af55a08e8d5ca5561430d9ab24d4e01bc0674141bbb
def D0(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
D0
dmcbrayer/lambda_converters
2
python
def D0(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
def D0(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
4da53d4fad4341fa5bf13bb93872e2982a5a5b3de7f917fcddecb29406dce337
def D1(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
D1
dmcbrayer/lambda_converters
2
python
def D1(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
def D1(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
f6062d5bd2a0dbf668adf579b4440c8cd25b906abb2a4950c348e29b1c3ebfe6
def D2(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
D2
dmcbrayer/lambda_converters
2
python
def D2(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
def D2(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
385d2d0c09b0e45875d97fb61093cbe6a5b78e9f3e8d79baed0c6fec416e79af
def D3(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
:param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :param VKnots: :type VKnots: TColStd_Array1OfReal & ...
app/pythonocc/lib/OCC/BSplSLib.py
D3
dmcbrayer/lambda_converters
2
python
def D3(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
def D3(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights...
d44656a00605496f97f38ddb3bab56acc79d6e413b8620ef8c6e6299efc558b4
def DN(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Nu:\n :type Nu: int\n :param Nv:\n :type Nv: int\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n ...
:param U: :type U: float :param V: :type V: float :param Nu: :type Nu: int :param Nv: :type Nv: int :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param UKnots: :type UKnots: TColStd_Array1OfReal & :p...
app/pythonocc/lib/OCC/BSplSLib.py
DN
dmcbrayer/lambda_converters
2
python
def DN(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Nu:\n :type Nu: int\n :param Nv:\n :type Nv: int\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n ...
def DN(*args): '\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Nu:\n :type Nu: int\n :param Nv:\n :type Nv: int\n :param UIndex:\n :type UIndex: int\n :param VIndex:\n :type VIndex: int\n :param Poles:\n ...
409b86b7749d7958c4e323a508b14857e54181c227295f144c600caf2904b5ef
def Iso(*args): '\n * Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else).\n\n :param Param:\n :type Param: float\n :param IsU:\n :type IsU: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :...
* Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else). :param Param: :type Param: float :param IsU: :type IsU: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1O...
app/pythonocc/lib/OCC/BSplSLib.py
Iso
dmcbrayer/lambda_converters
2
python
def Iso(*args): '\n * Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else).\n\n :param Param:\n :type Param: float\n :param IsU:\n :type IsU: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :...
def Iso(*args): '\n * Computes the poles and weights of an isoparametric curve at parameter <Param> (UIso if <IsU> is True, VIso else).\n\n :param Param:\n :type Param: float\n :param IsU:\n :type IsU: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :...
b81b9293c2726bcf09266e33c81bc8454a8b8b4dad6b2249e9075883bad3403d
def HomogeneousD0(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
* Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0 :param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TC...
app/pythonocc/lib/OCC/BSplSLib.py
HomogeneousD0
dmcbrayer/lambda_converters
2
python
def HomogeneousD0(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
def HomogeneousD0(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
c92280fae91b1c8a6d135ab4ea117b7b740713fa5e5756ac2612dcd7c236298f
def HomogeneousD1(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
* Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0 :param U: :type U: float :param V: :type V: float :param UIndex: :type UIndex: int :param VIndex: :type VIndex: int :param Poles: :type Poles: TC...
app/pythonocc/lib/OCC/BSplSLib.py
HomogeneousD1
dmcbrayer/lambda_converters
2
python
def HomogeneousD1(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
def HomogeneousD1(*args): '\n * Makes an homogeneous evaluation of Poles and Weights any and returns in P the Numerator value and in W the Denominator value if Weights are present otherwise returns 1.0e0\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param U...
78288cb3a0dd5bb83fed739d6deac8d62562b9c8c979aee91a6da8a15d3cd56d
def Reverse(*args): '\n * Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1)\n\n :param Poles:\...
* Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1) :param Poles: :type Poles: TColgp_Array2OfPnt :param Last: ...
app/pythonocc/lib/OCC/BSplSLib.py
Reverse
dmcbrayer/lambda_converters
2
python
def Reverse(*args): '\n * Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1)\n\n :param Poles:\...
def Reverse(*args): '\n * Reverses the array of poles. Last is the Index of the new first Row( Col) of Poles. On a non periodic surface Last is Poles.Upper(). On a periodic curve last is (number of flat knots - degree - 1) or (sum of multiplicities(but for the last) + degree - 1)\n\n :param Poles:\...
04b30dab20c3121df2096bd04984cdaa0a37b7a07ab4602b3fbc5e12436bfbcf
def IsRational(*args): '\n * Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used.\n\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :...
* Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used. :param Weights: :type Weights: TColStd_Array2OfReal & :param I1: :type I1: int :param I2: :type I2: int :param J1: :type ...
app/pythonocc/lib/OCC/BSplSLib.py
IsRational
dmcbrayer/lambda_converters
2
python
def IsRational(*args): '\n * Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used.\n\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :...
def IsRational(*args): '\n * Returns False if all the weights of the array <Weights> in the area [I1,I2] * [J1,J2] are identic. Epsilon is used for comparing weights. If Epsilon is 0. the Epsilon of the first weight is used.\n\n :param Weights:\n :type Weights: TColStd_Array2OfReal &\n :...
8ce309a259c125a16ca1595828203cbf8ec19d7ed835d9e49e2153b443f7aa0d
def SetPoles(*args): '\n * Copy in FP the coordinates of the poles.\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Copy in FP the coo...
* Copy in FP the coordinates of the poles. :param Poles: :type Poles: TColgp_Array2OfPnt :param FP: :type FP: TColStd_Array1OfReal & :param UDirection: :type UDirection: bool :rtype: void * Copy in FP the coordinates of the poles. :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_A...
app/pythonocc/lib/OCC/BSplSLib.py
SetPoles
dmcbrayer/lambda_converters
2
python
def SetPoles(*args): '\n * Copy in FP the coordinates of the poles.\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Copy in FP the coo...
def SetPoles(*args): '\n * Copy in FP the coordinates of the poles.\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Copy in FP the coo...
33215c5e5e32c60df132d220194ffef3e1adf856e11249769f8e59e2dd95d383
def GetPoles(*args): '\n * Get from FP the coordinates of the poles.\n\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Get from FP the c...
* Get from FP the coordinates of the poles. :param FP: :type FP: TColStd_Array1OfReal & :param Poles: :type Poles: TColgp_Array2OfPnt :param UDirection: :type UDirection: bool :rtype: void * Get from FP the coordinates of the poles. :param FP: :type FP: TColStd_Array1OfReal & :param Poles: :type Poles: TColgp_Array2...
app/pythonocc/lib/OCC/BSplSLib.py
GetPoles
dmcbrayer/lambda_converters
2
python
def GetPoles(*args): '\n * Get from FP the coordinates of the poles.\n\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Get from FP the c...
def GetPoles(*args): '\n * Get from FP the coordinates of the poles.\n\n :param FP:\n :type FP: TColStd_Array1OfReal &\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param UDirection:\n :type UDirection: bool\n :rtype: void\n\n * Get from FP the c...
6bf65e2367b61988d4be55ab141393d8884dba31eb270e94b46ba5560c63a88f
def MovePoint(*args): "\n * Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for U do...
* Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for U don't enter (1,NbPoles) and (1,VNbPoles...
app/pythonocc/lib/OCC/BSplSLib.py
MovePoint
dmcbrayer/lambda_converters
2
python
def MovePoint(*args): "\n * Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for U do...
def MovePoint(*args): "\n * Find the new poles which allows an old point (with a given u,v as parameters) to reach a new position UIndex1,UIndex2 indicate the range of poles we can move for U (1, UNbPoles-1) or (2, UNbPoles) -> no constraint for one side in U (2, UNbPoles-1) -> the ends are enforced for U do...
bc95beab46a7263e3122ec636f2ef0135c142c1b328df78acbe49b4f1401a3ef
def InsertKnots(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Ar...
:param UDirection: :type UDirection: bool :param Degree: :type Degree: int :param Periodic: :type Periodic: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1OfReal & :param Mults: :type Mults: TColStd_Array1OfInteger & :par...
app/pythonocc/lib/OCC/BSplSLib.py
InsertKnots
dmcbrayer/lambda_converters
2
python
def InsertKnots(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Ar...
def InsertKnots(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param Weights:\n :type Weights: TColStd_Ar...
737ca3a7aef8b7b5385d1072a453b3b70c68e9e98bc88c9d07db371c9e47e008
def RemoveKnot(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Index:\n :type Index: int\n :param Mult:\n :type Mult: int\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n ...
:param UDirection: :type UDirection: bool :param Index: :type Index: int :param Mult: :type Mult: int :param Degree: :type Degree: int :param Periodic: :type Periodic: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1OfReal...
app/pythonocc/lib/OCC/BSplSLib.py
RemoveKnot
dmcbrayer/lambda_converters
2
python
def RemoveKnot(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Index:\n :type Index: int\n :param Mult:\n :type Mult: int\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n ...
def RemoveKnot(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Index:\n :type Index: int\n :param Mult:\n :type Mult: int\n :param Degree:\n :type Degree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n ...
568359694b5849cebaf1f8609d2013fc9e9d37a2dd5023d44cd2f4c4d6757645
def IncreaseDegree(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param NewDegree:\n :type NewDegree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
:param UDirection: :type UDirection: bool :param Degree: :type Degree: int :param NewDegree: :type NewDegree: int :param Periodic: :type Periodic: bool :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Knots: :type Knots: TColStd_Array1OfReal & :param Mults: :typ...
app/pythonocc/lib/OCC/BSplSLib.py
IncreaseDegree
dmcbrayer/lambda_converters
2
python
def IncreaseDegree(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param NewDegree:\n :type NewDegree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
def IncreaseDegree(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param NewDegree:\n :type NewDegree: int\n :param Periodic:\n :type Periodic: bool\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
73a6f96b01e9944d7c0af57d5121ee00260b3524013d454c666031dd94f539fe
def Unperiodize(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Mults:\n :type Mults: TColStd_Array1OfInteger &\n :param Knots:\n :type Knots: TColStd_Array1OfReal &\n :param Poles:\n :type Po...
:param UDirection: :type UDirection: bool :param Degree: :type Degree: int :param Mults: :type Mults: TColStd_Array1OfInteger & :param Knots: :type Knots: TColStd_Array1OfReal & :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param NewMults: :type NewMults: TColStd_A...
app/pythonocc/lib/OCC/BSplSLib.py
Unperiodize
dmcbrayer/lambda_converters
2
python
def Unperiodize(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Mults:\n :type Mults: TColStd_Array1OfInteger &\n :param Knots:\n :type Knots: TColStd_Array1OfReal &\n :param Poles:\n :type Po...
def Unperiodize(*args): '\n :param UDirection:\n :type UDirection: bool\n :param Degree:\n :type Degree: int\n :param Mults:\n :type Mults: TColStd_Array1OfInteger &\n :param Knots:\n :type Knots: TColStd_Array1OfReal &\n :param Poles:\n :type Po...
208980c85b73c1c380ec622f6a78c60ee2eca5c57285ca91dcab8bfd7c565d58
def NoWeights(*args): '\n * Used as argument for a non rational curve.\n\n :rtype: TColStd_Array2OfReal\n\n ' return _BSplSLib.bsplslib_NoWeights(*args)
* Used as argument for a non rational curve. :rtype: TColStd_Array2OfReal
app/pythonocc/lib/OCC/BSplSLib.py
NoWeights
dmcbrayer/lambda_converters
2
python
def NoWeights(*args): '\n * Used as argument for a non rational curve.\n\n :rtype: TColStd_Array2OfReal\n\n ' return _BSplSLib.bsplslib_NoWeights(*args)
def NoWeights(*args): '\n * Used as argument for a non rational curve.\n\n :rtype: TColStd_Array2OfReal\n\n ' return _BSplSLib.bsplslib_NoWeights(*args)<|docstring|>* Used as argument for a non rational curve. :rtype: TColStd_Array2OfReal<|endoftext|>
8e1cf832dd9320e55b748c9323291ed0384ac818ce773ae48982f7089ad24dff
def BuildCache(*args): '\n * Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n ...
* Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles :param U: :type U: float :param V: :type V: float :param USpanDomain: :type USpanDomain: float :param VSpanDomain: :type VSpanD...
app/pythonocc/lib/OCC/BSplSLib.py
BuildCache
dmcbrayer/lambda_converters
2
python
def BuildCache(*args): '\n * Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n ...
def BuildCache(*args): '\n * Perform the evaluation of the Taylor expansion of the Bspline normalized between 0 and 1. If rational computes the homogeneous Taylor expension for the numerator and stores it in CachePoles\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n ...
69db32221b7a2031e2a67f3c764c8251a6b00c74b0e6d9ebd2fca9efb3a31848
def CacheD0(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
* Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter is where the Cache was constructed...
app/pythonocc/lib/OCC/BSplSLib.py
CacheD0
dmcbrayer/lambda_converters
2
python
def CacheD0(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
def CacheD0(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
676667473bf4e414d6228ba34ad12c0ff04842a97031d39defb4c580b1a50c98
def CoefsD0(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
* Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!! :param U: :type U: float :param V: :type V: float :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Point: :type Point: gp_Pnt :...
app/pythonocc/lib/OCC/BSplSLib.py
CoefsD0
dmcbrayer/lambda_converters
2
python
def CoefsD0(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
def CoefsD0(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
1d8b180576826a0f680314511d1833f5ada2f872e01751091820a5fa9543446a
def CacheD1(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
* Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter is where the Cache was constructed...
app/pythonocc/lib/OCC/BSplSLib.py
CacheD1
dmcbrayer/lambda_converters
2
python
def CacheD1(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
def CacheD1(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
873608157f8f63419e153e10143457b5f9ffe7b9bdec96de60620ac20e164140
def CoefsD1(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
* Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!! :param U: :type U: float :param V: :type V: float :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Point: :type Point: gp_Pnt :...
app/pythonocc/lib/OCC/BSplSLib.py
CoefsD1
dmcbrayer/lambda_converters
2
python
def CoefsD1(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
def CoefsD1(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
92b0d6d785b9c8846bb9b3d4cbe761e701d833fc107d8d393d9c6952ed1726ab
def CacheD2(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
* Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter is where the Cache was constructed...
app/pythonocc/lib/OCC/BSplSLib.py
CacheD2
dmcbrayer/lambda_converters
2
python
def CacheD2(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
def CacheD2(*args): '\n * Perform the evaluation of the of the cache the parameter must be normalized between the 0 and 1 for the span. The Cache must be valid when calling this routine. Geom Package will insure that. and then multiplies by the weights this just evaluates the current point the CacheParameter...
9af91d6415cd9dbf4a47290ec7779db29423d94b9303d24b9981645f3243e62f
def CoefsD2(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
* Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!! :param U: :type U: float :param V: :type V: float :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights: :type Weights: TColStd_Array2OfReal & :param Point: :type Point: gp_Pnt :...
app/pythonocc/lib/OCC/BSplSLib.py
CoefsD2
dmcbrayer/lambda_converters
2
python
def CoefsD2(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
def CoefsD2(*args): '\n * Calls CacheD0 for Bezier Surfaces Arrays computed with the method PolesCoefficients. Warning: To be used for BezierSurfaces ONLY!!!\n\n :param U:\n :type U: float\n :param V:\n :type V: float\n :param Poles:\n :type Poles: TColgp_Array2OfPnt...
7111016eb7d347db4885af5fd6e53c885ddd2d647af6beae17a447b82b680e5f
def PolesCoefficients(*args): '\n * Warning! To be used for BezierSurfaces ONLY!!!\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param CachePoles:\n :type CachePoles: TColgp_Array2OfPnt\n :rtype: void\n\n * Encapsulation of BuildCache to perform the evaluati...
* Warning! To be used for BezierSurfaces ONLY!!! :param Poles: :type Poles: TColgp_Array2OfPnt :param CachePoles: :type CachePoles: TColgp_Array2OfPnt :rtype: void * Encapsulation of BuildCache to perform the evaluation of the Taylor expansion for beziersurfaces at parameters 0.,0.; Warning: To be used for BezierSurf...
app/pythonocc/lib/OCC/BSplSLib.py
PolesCoefficients
dmcbrayer/lambda_converters
2
python
def PolesCoefficients(*args): '\n * Warning! To be used for BezierSurfaces ONLY!!!\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param CachePoles:\n :type CachePoles: TColgp_Array2OfPnt\n :rtype: void\n\n * Encapsulation of BuildCache to perform the evaluati...
def PolesCoefficients(*args): '\n * Warning! To be used for BezierSurfaces ONLY!!!\n\n :param Poles:\n :type Poles: TColgp_Array2OfPnt\n :param CachePoles:\n :type CachePoles: TColgp_Array2OfPnt\n :rtype: void\n\n * Encapsulation of BuildCache to perform the evaluati...
82908298a90bfc6cba758167e97088d4053b453dad5d99f1409ea62c781f8441
def Resolution(*args): '\n * Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D\n\n :param Poles:...
* Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D :param Poles: :type Poles: TColgp_Array2OfPnt :param Weights:...
app/pythonocc/lib/OCC/BSplSLib.py
Resolution
dmcbrayer/lambda_converters
2
python
def Resolution(*args): '\n * Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D\n\n :param Poles:...
def Resolution(*args): '\n * Given a tolerance in 3D space returns two tolerances, one in U one in V such that for all (u1,v1) and (u0,v0) in the domain of the surface f(u,v) we have : | u1 - u0 | < UTolerance and | v1 - v0 | < VTolerance we have |f (u1,v1) - f (u0,v0)| < Tolerance3D\n\n :param Poles:...
2f3e922b9292d95509cabbee8ea09ecd85783f753e50fa5fe8ea6cde4ab05d3a
def Interpolate(*args): '\n * Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of VPar...
* Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of VParameters must be the same. The length of...
app/pythonocc/lib/OCC/BSplSLib.py
Interpolate
dmcbrayer/lambda_converters
2
python
def Interpolate(*args): '\n * Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of VPar...
def Interpolate(*args): '\n * Performs the interpolation of the data points given in the Poles array in the form [1,...,RL][1,...,RC][1...PolesDimension] . The ColLength CL and the Length of UParameters must be the same. The length of VFlatKnots is VDegree + CL + 1. The RowLength RL and the Length of VPar...
a832466ec3b3ef20b624e1ce390039f1bab3cb7e1d21c1468db153ec96cde1c2
def FunctionMultiply(*args): "\n * this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which is a...
* this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which is assumed to satisfy the following : 1. a(u,v) ...
app/pythonocc/lib/OCC/BSplSLib.py
FunctionMultiply
dmcbrayer/lambda_converters
2
python
def FunctionMultiply(*args): "\n * this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which is a...
def FunctionMultiply(*args): "\n * this will multiply a given BSpline numerator N(u,v) and denominator D(u,v) defined by its U/VBSplineDegree and U/VBSplineKnots, and U/VMults. Its Poles and Weights are arrays which are coded as array2 of the form [1..UNumPoles][1..VNumPoles] by a function a(u,v) which is a...
b6102d5164ab5c28b7ee1ad57b402637e54c097feaa99470c0b2850be3aff8b4
@login_manager.user_loader def load_user(userid): 'This function loads the user with login_manager' try: return User.get((User.id == userid)) except User.DoesNotExist: return None
This function loads the user with login_manager
flask_journal.py
load_user
mhunterak/TD_Flask_Journal
0
python
@login_manager.user_loader def load_user(userid): try: return User.get((User.id == userid)) except User.DoesNotExist: return None
@login_manager.user_loader def load_user(userid): try: return User.get((User.id == userid)) except User.DoesNotExist: return None<|docstring|>This function loads the user with login_manager<|endoftext|>
8edbfb349c2b7ae43cb9cb5aea11e821e1f6027caa0821d92d0911517b2e1741
@app.route('/logout') def logout(): 'This function logs the user out of the app' User.logout() flash("You've been logged out", 'success') return redirect(url_for('index'))
This function logs the user out of the app
flask_journal.py
logout
mhunterak/TD_Flask_Journal
0
python
@app.route('/logout') def logout(): User.logout() flash("You've been logged out", 'success') return redirect(url_for('index'))
@app.route('/logout') def logout(): User.logout() flash("You've been logged out", 'success') return redirect(url_for('index'))<|docstring|>This function logs the user out of the app<|endoftext|>
3408f4956864e0aadcc74ded60e1c29790a9f348ed55b561c8917242f97586bc
def render_view(page, **kwargs): 'this function renders the template with default information that every\ntemplate uses ' return render_template(page, copyright='2018 Maxwell Hunter', last_update='2018-12-20', **kwargs)
this function renders the template with default information that every template uses
flask_journal.py
render_view
mhunterak/TD_Flask_Journal
0
python
def render_view(page, **kwargs): 'this function renders the template with default information that every\ntemplate uses ' return render_template(page, copyright='2018 Maxwell Hunter', last_update='2018-12-20', **kwargs)
def render_view(page, **kwargs): 'this function renders the template with default information that every\ntemplate uses ' return render_template(page, copyright='2018 Maxwell Hunter', last_update='2018-12-20', **kwargs)<|docstring|>this function renders the template with default information that every template ...
45ea3f7a78ed4d07c3bb7ed7bcd8da5cf147b3c33d3fd6965a4de4d946168520
@app.route('/login', methods=('GET', 'POST')) def login(): 'XC Requirement: password protection / user login\n(implements flask_login)\n\nThis function, on form submit, implements User.login() function for user login.\nUsername and Password variables are taken directly from the form.\n\ncredentials are provided for...
XC Requirement: password protection / user login (implements flask_login) This function, on form submit, implements User.login() function for user login. Username and Password variables are taken directly from the form. credentials are provided for the default user in README.md
flask_journal.py
login
mhunterak/TD_Flask_Journal
0
python
@app.route('/login', methods=('GET', 'POST')) def login(): 'XC Requirement: password protection / user login\n(implements flask_login)\n\nThis function, on form submit, implements User.login() function for user login.\nUsername and Password variables are taken directly from the form.\n\ncredentials are provided for...
@app.route('/login', methods=('GET', 'POST')) def login(): 'XC Requirement: password protection / user login\n(implements flask_login)\n\nThis function, on form submit, implements User.login() function for user login.\nUsername and Password variables are taken directly from the form.\n\ncredentials are provided for...
e7eea35fb8b19a74a56e5b76c53d9642511ab7aa69b4b73dd63a95c57f7924ba
@app.route('/index.html') @app.route('/') def index(): ' necessary routes for the application\nthe index page looked like a list of entries to me,\nso I moved index.html to /entries and had it forward' return redirect(url_for('entry_list'))
necessary routes for the application the index page looked like a list of entries to me, so I moved index.html to /entries and had it forward
flask_journal.py
index
mhunterak/TD_Flask_Journal
0
python
@app.route('/index.html') @app.route('/') def index(): ' necessary routes for the application\nthe index page looked like a list of entries to me,\nso I moved index.html to /entries and had it forward' return redirect(url_for('entry_list'))
@app.route('/index.html') @app.route('/') def index(): ' necessary routes for the application\nthe index page looked like a list of entries to me,\nso I moved index.html to /entries and had it forward' return redirect(url_for('entry_list'))<|docstring|>necessary routes for the application the index page looked ...
72accd6bca947f51e06cac1e59b77ac7b03cb4286e1f8175319334cd86966138
@app.route('/entries') @app.route('/entries/') def entry_list(): ' Route for entries list\nTitle is hyperlinked to the detail page for each journal entry\n\nThe list view contains a list of journal entries, which displays Title and\nDate for Entry.\n\n' entries = Entry.select() return render_view('index.htm...
Route for entries list Title is hyperlinked to the detail page for each journal entry The list view contains a list of journal entries, which displays Title and Date for Entry.
flask_journal.py
entry_list
mhunterak/TD_Flask_Journal
0
python
@app.route('/entries') @app.route('/entries/') def entry_list(): ' Route for entries list\nTitle is hyperlinked to the detail page for each journal entry\n\nThe list view contains a list of journal entries, which displays Title and\nDate for Entry.\n\n' entries = Entry.select() return render_view('index.htm...
@app.route('/entries') @app.route('/entries/') def entry_list(): ' Route for entries list\nTitle is hyperlinked to the detail page for each journal entry\n\nThe list view contains a list of journal entries, which displays Title and\nDate for Entry.\n\n' entries = Entry.select() return render_view('index.htm...
e8bbefb6dd5c816d556a7b5b13bae21ea6fbd16982e4f7596f69f09d7c4cf666
@app.route('/entry') @app.route('/entries/add', methods=('GET', 'POST')) @app.route('/entries/add/', methods=('GET', 'POST')) @login_required def add(): 'This function adds an entry' if (request.method == 'POST'): try: entry = Entry.create_entry(title=request.form['title'], date=request.form...
This function adds an entry
flask_journal.py
add
mhunterak/TD_Flask_Journal
0
python
@app.route('/entry') @app.route('/entries/add', methods=('GET', 'POST')) @app.route('/entries/add/', methods=('GET', 'POST')) @login_required def add(): if (request.method == 'POST'): try: entry = Entry.create_entry(title=request.form['title'], date=request.form['date'], time_spent=request....
@app.route('/entry') @app.route('/entries/add', methods=('GET', 'POST')) @app.route('/entries/add/', methods=('GET', 'POST')) @login_required def add(): if (request.method == 'POST'): try: entry = Entry.create_entry(title=request.form['title'], date=request.form['date'], time_spent=request....
4b701c6b8fdc363a3feb264c88dea074abdf248d744c5c8d3bb102347b0c0e5a
@app.route('/entries/<slug>') @app.route('/entries/<slug>/details') def details_by_slug(slug): "This function creates the 'details' view with the route '/details'\ndisplaying the journal entry with all fields:\n " entry = Entry.get_entry_from_slug(slug) if (entry is None): flash('no entry found')...
This function creates the 'details' view with the route '/details' displaying the journal entry with all fields:
flask_journal.py
details_by_slug
mhunterak/TD_Flask_Journal
0
python
@app.route('/entries/<slug>') @app.route('/entries/<slug>/details') def details_by_slug(slug): "This function creates the 'details' view with the route '/details'\ndisplaying the journal entry with all fields:\n " entry = Entry.get_entry_from_slug(slug) if (entry is None): flash('no entry found')...
@app.route('/entries/<slug>') @app.route('/entries/<slug>/details') def details_by_slug(slug): "This function creates the 'details' view with the route '/details'\ndisplaying the journal entry with all fields:\n " entry = Entry.get_entry_from_slug(slug) if (entry is None): flash('no entry found')...
e50d6a9d1cffc1fd7f5332ef4ef236150b54615af61af23f95c8608275fdcb31
@app.route('/entries/edit/<slug>', methods=('GET', 'POST')) @login_required def edit_entry(slug): 'This function renders the edit entry page,\nand handles the POST for form submission' entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): if entry.edit(title=request.form['title'], d...
This function renders the edit entry page, and handles the POST for form submission
flask_journal.py
edit_entry
mhunterak/TD_Flask_Journal
0
python
@app.route('/entries/edit/<slug>', methods=('GET', 'POST')) @login_required def edit_entry(slug): 'This function renders the edit entry page,\nand handles the POST for form submission' entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): if entry.edit(title=request.form['title'], d...
@app.route('/entries/edit/<slug>', methods=('GET', 'POST')) @login_required def edit_entry(slug): 'This function renders the edit entry page,\nand handles the POST for form submission' entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): if entry.edit(title=request.form['title'], d...
e415a477b659252f02abe89067103d153400d6090e9f4baf0895dbfd8e1c53ef
@app.route('/entries/delete/<slug>', methods=('GET', 'POST')) @login_required def delete_entry(slug): "This function deletes the entry on submit confirmation\nrequires 'POST' nethod to actually delete\n " entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): if (request.form['del...
This function deletes the entry on submit confirmation requires 'POST' nethod to actually delete
flask_journal.py
delete_entry
mhunterak/TD_Flask_Journal
0
python
@app.route('/entries/delete/<slug>', methods=('GET', 'POST')) @login_required def delete_entry(slug): "This function deletes the entry on submit confirmation\nrequires 'POST' nethod to actually delete\n " entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): if (request.form['del...
@app.route('/entries/delete/<slug>', methods=('GET', 'POST')) @login_required def delete_entry(slug): "This function deletes the entry on submit confirmation\nrequires 'POST' nethod to actually delete\n " entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): if (request.form['del...
7af9bdfe6b083c1759f11ea92524c99be5a43ab9d7d4a1fa70b09a1de64dc095
@app.route('/entries/<slug>/tag', methods=('GET', 'POST')) @login_required def tag_entry(slug): 'This route is for adding new tags to an entry' entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): entry.add_tags(request.form['tags']) return render_view('tag.html', entry=entry, ...
This route is for adding new tags to an entry
flask_journal.py
tag_entry
mhunterak/TD_Flask_Journal
0
python
@app.route('/entries/<slug>/tag', methods=('GET', 'POST')) @login_required def tag_entry(slug): entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): entry.add_tags(request.form['tags']) return render_view('tag.html', entry=entry, slug=slug)
@app.route('/entries/<slug>/tag', methods=('GET', 'POST')) @login_required def tag_entry(slug): entry = Entry.get_entry_from_slug(slug) if (request.method == 'POST'): entry.add_tags(request.form['tags']) return render_view('tag.html', entry=entry, slug=slug)<|docstring|>This route is for adding...
8bfbbfd6a71ba9bd9959555baa331134c5d48a198c80935aaed5b8d44903d8d1
@app.route('/tags/<tagname>') def show_entries_with_tag(tagname): 'This route shows entries that have a specific tag' tags = Tag.select().distinct().where((Tag.tagname == tagname)) return render_view('entries-by-taglist.html', tagname=tagname, tags=tags)
This route shows entries that have a specific tag
flask_journal.py
show_entries_with_tag
mhunterak/TD_Flask_Journal
0
python
@app.route('/tags/<tagname>') def show_entries_with_tag(tagname): tags = Tag.select().distinct().where((Tag.tagname == tagname)) return render_view('entries-by-taglist.html', tagname=tagname, tags=tags)
@app.route('/tags/<tagname>') def show_entries_with_tag(tagname): tags = Tag.select().distinct().where((Tag.tagname == tagname)) return render_view('entries-by-taglist.html', tagname=tagname, tags=tags)<|docstring|>This route shows entries that have a specific tag<|endoftext|>
27e283856a28a98b9a18a2e06dd4ef0b699f45e6fb38d2b15f4faa716dcc9fa7
@app.route('/alltags') def all_tags(): ' This route shows all tags in use.\n Selecting a tag takes you to a list of specific tags' alltags = [] tags = Tag.select(Tag.tagname).distinct().order_by(Tag.tagname) for tag in tags: if (tag.tagname not in alltags): alltags.append(tag.tagn...
This route shows all tags in use. Selecting a tag takes you to a list of specific tags
flask_journal.py
all_tags
mhunterak/TD_Flask_Journal
0
python
@app.route('/alltags') def all_tags(): ' This route shows all tags in use.\n Selecting a tag takes you to a list of specific tags' alltags = [] tags = Tag.select(Tag.tagname).distinct().order_by(Tag.tagname) for tag in tags: if (tag.tagname not in alltags): alltags.append(tag.tagn...
@app.route('/alltags') def all_tags(): ' This route shows all tags in use.\n Selecting a tag takes you to a list of specific tags' alltags = [] tags = Tag.select(Tag.tagname).distinct().order_by(Tag.tagname) for tag in tags: if (tag.tagname not in alltags): alltags.append(tag.tagn...
211ad6e9d0a7adec01fed793cf2e7d63157b8a52a3d0dbc1b1dd2472f19d95e3
def n_photons(self, wavelengths, exp_time, J): '\n Estimate the number of photons received from a target with J magnitude\n ``J`` over exposure time ``exp_time``.\n\n Parameters\n ----------\n wavelengths : `~astropy.units.Quantity`\n Wavelengths to test\n exp_ti...
Estimate the number of photons received from a target with J magnitude ``J`` over exposure time ``exp_time``. Parameters ---------- wavelengths : `~astropy.units.Quantity` Wavelengths to test exp_time : `~astropy.units.Quantity` Exposure time J : float J-band magnitude of the target Returns ------- fluxes...
libra/spectra/spectrum.py
n_photons
jlustigy/libra
0
python
def n_photons(self, wavelengths, exp_time, J): '\n Estimate the number of photons received from a target with J magnitude\n ``J`` over exposure time ``exp_time``.\n\n Parameters\n ----------\n wavelengths : `~astropy.units.Quantity`\n Wavelengths to test\n exp_ti...
def n_photons(self, wavelengths, exp_time, J): '\n Estimate the number of photons received from a target with J magnitude\n ``J`` over exposure time ``exp_time``.\n\n Parameters\n ----------\n wavelengths : `~astropy.units.Quantity`\n Wavelengths to test\n exp_ti...
5ca00ddbc9d293ec415d2bbca58f5dd741589f91e5aea96e108ff4bbfe3fb763
def getNotifier(config, groupset): ' Returns an initialized notifier or nothing\n\n @param config: The svnmailer config\n @type config: C{svnmailer.settings.Settings}\n\n @param groupset: The groupset to process\n @type groupset: C{list}\n\n @return: The list of notifiers (contain...
Returns an initialized notifier or nothing @param config: The svnmailer config @type config: C{svnmailer.settings.Settings} @param groupset: The groupset to process @type groupset: C{list} @return: The list of notifiers (containing 0 or 1 member) @rtype: C{list}
src/lib/svnmailer/notifier/mail.py
getNotifier
danielshahaf/svnmailer-debian
0
python
def getNotifier(config, groupset): ' Returns an initialized notifier or nothing\n\n @param config: The svnmailer config\n @type config: C{svnmailer.settings.Settings}\n\n @param groupset: The groupset to process\n @type groupset: C{list}\n\n @return: The list of notifiers (contain...
def getNotifier(config, groupset): ' Returns an initialized notifier or nothing\n\n @param config: The svnmailer config\n @type config: C{svnmailer.settings.Settings}\n\n @param groupset: The groupset to process\n @type groupset: C{list}\n\n @return: The list of notifiers (contain...
12262ea83389c646ab4fe4b86536d4234226b515aa26c5557ee5897537e966a5
def sendMail(self, sender, to_addr, mail): ' Sends the mail via SMTP ' import smtplib, cStringIO fp = cStringIO.StringIO() mail.dump(fp) mail = fp.getvalue() fp.close() general = self._settings.general conn = smtplib.SMTP(general.smtp_host) if general.smtp_user: conn.login(ge...
Sends the mail via SMTP
src/lib/svnmailer/notifier/mail.py
sendMail
danielshahaf/svnmailer-debian
0
python
def sendMail(self, sender, to_addr, mail): ' ' import smtplib, cStringIO fp = cStringIO.StringIO() mail.dump(fp) mail = fp.getvalue() fp.close() general = self._settings.general conn = smtplib.SMTP(general.smtp_host) if general.smtp_user: conn.login(general.smtp_user, genera...
def sendMail(self, sender, to_addr, mail): ' ' import smtplib, cStringIO fp = cStringIO.StringIO() mail.dump(fp) mail = fp.getvalue() fp.close() general = self._settings.general conn = smtplib.SMTP(general.smtp_host) if general.smtp_user: conn.login(general.smtp_user, genera...
e3b49d7e0214157348c3f0921febd61b72987b9911378d20600a212da419784b
def sendMail(self, sender, to_addr, mail): ' Sends the mail via a piped mailer ' from svnmailer import util pipe = util.getPipe2(self._getMailCommand(sender, to_addr)) pipe.fromchild.close() mail.dump(pipe.tochild) pipe.tochild.close() pipe.wait()
Sends the mail via a piped mailer
src/lib/svnmailer/notifier/mail.py
sendMail
danielshahaf/svnmailer-debian
0
python
def sendMail(self, sender, to_addr, mail): ' ' from svnmailer import util pipe = util.getPipe2(self._getMailCommand(sender, to_addr)) pipe.fromchild.close() mail.dump(pipe.tochild) pipe.tochild.close() pipe.wait()
def sendMail(self, sender, to_addr, mail): ' ' from svnmailer import util pipe = util.getPipe2(self._getMailCommand(sender, to_addr)) pipe.fromchild.close() mail.dump(pipe.tochild) pipe.tochild.close() pipe.wait()<|docstring|>Sends the mail via a piped mailer<|endoftext|>
f7d134494fe6e096967b824ad0a4b338d7ec601c91d4d12f15523b8cbae930d8
def _getMailCommand(self, sender, to_addr): ' Returns the mailer command\n\n The command is created using sendmail conventions.\n If you want another commandline, override this method.\n\n @param sender: The sender address\n @type sender: C{str}\n\n @param to_a...
Returns the mailer command The command is created using sendmail conventions. If you want another commandline, override this method. @param sender: The sender address @type sender: C{str} @param to_addr: The receivers @type to_addr: C{list} @return: The command @rtype: C{list}
src/lib/svnmailer/notifier/mail.py
_getMailCommand
danielshahaf/svnmailer-debian
0
python
def _getMailCommand(self, sender, to_addr): ' Returns the mailer command\n\n The command is created using sendmail conventions.\n If you want another commandline, override this method.\n\n @param sender: The sender address\n @type sender: C{str}\n\n @param to_a...
def _getMailCommand(self, sender, to_addr): ' Returns the mailer command\n\n The command is created using sendmail conventions.\n If you want another commandline, override this method.\n\n @param sender: The sender address\n @type sender: C{str}\n\n @param to_a...
fb9e4c4b286c739a3746bd727a60fdfc69573d3bba7b142141b180bd922bc537
def setup(self): 'Setups the player by giving them 7 random uno cards' for i in range(7): self.cards.append(choice(UNO_CARDS))
Setups the player by giving them 7 random uno cards
cogs/game/minigames/uno/player.py
setup
FellowHashbrown/omega-psi-py
4
python
def setup(self): for i in range(7): self.cards.append(choice(UNO_CARDS))
def setup(self): for i in range(7): self.cards.append(choice(UNO_CARDS))<|docstring|>Setups the player by giving them 7 random uno cards<|endoftext|>
c551ee5f3000da9a4339189d4568ba6bb6599254fc914030f24a8237844334ee
async def wait_for_card(self, game): 'Waits for this player to choose a card to place down\n\n :param game: The game object this player is connected to\n\n :rtype: str\n ' valid_cards = game.get_valid_cards() if self.is_ai: (await sleep(2)) return choice(valid_cards) ...
Waits for this player to choose a card to place down :param game: The game object this player is connected to :rtype: str
cogs/game/minigames/uno/player.py
wait_for_card
FellowHashbrown/omega-psi-py
4
python
async def wait_for_card(self, game): 'Waits for this player to choose a card to place down\n\n :param game: The game object this player is connected to\n\n :rtype: str\n ' valid_cards = game.get_valid_cards() if self.is_ai: (await sleep(2)) return choice(valid_cards) ...
async def wait_for_card(self, game): 'Waits for this player to choose a card to place down\n\n :param game: The game object this player is connected to\n\n :rtype: str\n ' valid_cards = game.get_valid_cards() if self.is_ai: (await sleep(2)) return choice(valid_cards) ...
ae5384f1a5ea6b5cac8ef6457a063ac9c1986ab4f78176e98c64c6dddd2c1e95
async def show_turn(self, game): "Sends a message to this player displaying who's turn it is.\n The current player of the game does not receive this message though because they\n are sent a separate message\n\n :param game: The game that this player is connected to\n " if ((game.get_...
Sends a message to this player displaying who's turn it is. The current player of the game does not receive this message though because they are sent a separate message :param game: The game that this player is connected to
cogs/game/minigames/uno/player.py
show_turn
FellowHashbrown/omega-psi-py
4
python
async def show_turn(self, game): "Sends a message to this player displaying who's turn it is.\n The current player of the game does not receive this message though because they\n are sent a separate message\n\n :param game: The game that this player is connected to\n " if ((game.get_...
async def show_turn(self, game): "Sends a message to this player displaying who's turn it is.\n The current player of the game does not receive this message though because they\n are sent a separate message\n\n :param game: The game that this player is connected to\n " if ((game.get_...
89942206362bfa49daa59d68e85b9d417b0ce5d31009234bd1889fc451096ea9
async def show_card(self, game, card, *, extras=[]): "Shows the current player's card choice to this player unless the game's\n current player is this player. The current player of the game already chose\n their card so they know what they chose\n\n :param game: The game this player is connecte...
Shows the current player's card choice to this player unless the game's current player is this player. The current player of the game already chose their card so they know what they chose :param game: The game this player is connected to :param card: The card the current player chose :param extras: A list of extra inf...
cogs/game/minigames/uno/player.py
show_card
FellowHashbrown/omega-psi-py
4
python
async def show_card(self, game, card, *, extras=[]): "Shows the current player's card choice to this player unless the game's\n current player is this player. The current player of the game already chose\n their card so they know what they chose\n\n :param game: The game this player is connecte...
async def show_card(self, game, card, *, extras=[]): "Shows the current player's card choice to this player unless the game's\n current player is this player. The current player of the game already chose\n their card so they know what they chose\n\n :param game: The game this player is connecte...
cf4d093a665bab4d9e2d62fe58d49e6adce650f94ef4a466e423c7ca12714f1d
async def show_winner(self, game): 'Displays the winner of the specified game to this player\n\n :param game: The game that this player is connected to\n ' if (not self.is_ai): (await self.member.send(embed=Embed(title=('{} wins!'.format(game.get_current_player().get_name()) if (game.get_c...
Displays the winner of the specified game to this player :param game: The game that this player is connected to
cogs/game/minigames/uno/player.py
show_winner
FellowHashbrown/omega-psi-py
4
python
async def show_winner(self, game): 'Displays the winner of the specified game to this player\n\n :param game: The game that this player is connected to\n ' if (not self.is_ai): (await self.member.send(embed=Embed(title=('{} wins!'.format(game.get_current_player().get_name()) if (game.get_c...
async def show_winner(self, game): 'Displays the winner of the specified game to this player\n\n :param game: The game that this player is connected to\n ' if (not self.is_ai): (await self.member.send(embed=Embed(title=('{} wins!'.format(game.get_current_player().get_name()) if (game.get_c...
0f44c9e8b21cc2c16050cd81f935b0436f583a54fb3df8b2b34ef7d6aa897cc6
async def ask_for_new_color(self, game): 'Asks the player to choose a new color for when they choose a wild card\n\n :param game: The game object this player is connected to\n \n :rtype: str\n ' if self.is_ai: (await sleep(2)) return choice(COLOR_CARDS) else: ...
Asks the player to choose a new color for when they choose a wild card :param game: The game object this player is connected to :rtype: str
cogs/game/minigames/uno/player.py
ask_for_new_color
FellowHashbrown/omega-psi-py
4
python
async def ask_for_new_color(self, game): 'Asks the player to choose a new color for when they choose a wild card\n\n :param game: The game object this player is connected to\n \n :rtype: str\n ' if self.is_ai: (await sleep(2)) return choice(COLOR_CARDS) else: ...
async def ask_for_new_color(self, game): 'Asks the player to choose a new color for when they choose a wild card\n\n :param game: The game object this player is connected to\n \n :rtype: str\n ' if self.is_ai: (await sleep(2)) return choice(COLOR_CARDS) else: ...
f94fe1f6b18e3811e7968c5e349ef678388f56cf08e3510fc8ac7d59c7dbfd68
def setUp(self): 'Set up each test case.' super().setUp() self.scm_avail_bytes = self.get_pool_available_bytes()
Set up each test case.
src/tests/ftest/pool/create_all_vm.py
setUp
zalsader/daos
0
python
def setUp(self): super().setUp() self.scm_avail_bytes = self.get_pool_available_bytes()
def setUp(self): super().setUp() self.scm_avail_bytes = self.get_pool_available_bytes()<|docstring|>Set up each test case.<|endoftext|>
04eb75424318c65a100d0a6ad220036b83ab50af6dd306c7439971e1f007abd4
def get_pool_available_bytes(self): 'Return the available size of SCM storage.' self.assertGreater(len(self.server_managers), 0, 'No server managers') try: self.log.info('Retrieving available size') result = self.server_managers[0].dmg.storage_query_usage() except CommandFailure as error...
Return the available size of SCM storage.
src/tests/ftest/pool/create_all_vm.py
get_pool_available_bytes
zalsader/daos
0
python
def get_pool_available_bytes(self): self.assertGreater(len(self.server_managers), 0, 'No server managers') try: self.log.info('Retrieving available size') result = self.server_managers[0].dmg.storage_query_usage() except CommandFailure as error: self.fail('dmg command failed: {}...
def get_pool_available_bytes(self): self.assertGreater(len(self.server_managers), 0, 'No server managers') try: self.log.info('Retrieving available size') result = self.server_managers[0].dmg.storage_query_usage() except CommandFailure as error: self.fail('dmg command failed: {}...